View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 29, 2008 1:55 pm 
Offline
Joined: Wed Mar 07, 2007 9:34 am
Posts: 28
Some of the shows I record do not play correctly using the internal player. This problem is discussed here: http://www.gossamer-threads.com/lists/mythtv/dev/317736#317736
There is already a ticket in to address the real problem.

However, in the mean time, it turns out that the videos that do not play well with the internal player work just fine in xine. So, I would like to add a menu item in the recorded programs screen to choose to play a particular recording with xine instead of the default player. Is there an easy way to add this or would it require modifying the mythtv source code?

Cheers,
John


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 2:08 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I think you're looking at a source code change there, and not a trivial one.

There are other tricks you could do, like putting a symbolic link to /myth/tv in the /myth/video directory, but that leads to several other complications. You could add a menu item higher up, say under Media Library, which ran xine pointing at /myth/pretty, but then your problem is that it will autostart with the first thing it finds and you'll have to work out how to get to the recording that you want.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 2:29 pm 
Offline
Joined: Wed Mar 07, 2007 9:34 am
Posts: 28
Yeah, those are the problems that I am seeing as well.

The idea of using MythVideo is interesting, though. In the setup for mythvideo there is a way to enter a unique player command for each of the videos that I have. Suppose I add a link to pretty in /myth/video. I wonder if I could somehow automatically filter through the links in pretty and change the unique player command for only the shows that I have a problem with. Where is that unique command (and other video meta-data) stored when I change it for a particular video?

John


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 4:11 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
john.lofgren wrote:
Where is that unique command (and other video meta-data) stored when I change it for a particular video?

Database of course. Looks like it's in the "videometadata" table as the "playcommand" column.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 30, 2008 10:56 am 
Offline
Joined: Wed Mar 07, 2007 9:34 am
Posts: 28
Any idea what triggers that database to be updated? In other words, when I add a new file (or link) into the /myth/video directory, when and how will that video get added to the videometadata table? Does it happen when I start the video browser? Is there a way I could force that update from a shell script?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 30, 2008 6:00 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
There is a scan command which you can initiate from the menu. There's probably a way to do it from the command line, but you'll have to search.

Adding custom commands after the fact should just take a simple mysql update statement.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 62 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu