pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Updated DVD Video plugin for pytivo
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Wed Jul 20, 2011 8:16 am    Post subject: Reply with quote

Just pushed a fix for this issue.
Back to top
View user's profile Send private message
lrhorer



Joined: 04 Mar 2008
Posts: 153

PostPosted: Thu Jul 21, 2011 1:45 am    Post subject: Reply with quote

'Looks good.

Edit: Oops! Spoke too soon. That killed the title displays. Neither the reserved keyword "ignore" nor any other text works, now.
Back to top
View user's profile Send private message Visit poster's website
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Thu Jul 21, 2011 7:34 am    Post subject: Reply with quote

lrhorer wrote:
'Edit: Oops! Spoke too soon. That killed the title displays. Neither the reserved keyword "ignore" nor any other text works, now.


I can't see how that's possible. The code adjusted is to do with directory listing of "real" directories. The dvdvideo plugin uses a different mechanism to list the "virtual" directory structure of the dvd. The virtual directory structure has the code that reads the file metadata.

Can you double check this and make sure nothing else has changed. If necessary try reverting to the previous version to check that performs in the same manor.
Back to top
View user's profile Send private message
lrhorer



Joined: 04 Mar 2008
Posts: 153

PostPosted: Thu Jul 21, 2011 8:24 am    Post subject: Reply with quote

lucasnz wrote:
I can't see how that's possible.

I found the problem. I upgraded the code from your new git, but when I re-started the server, I restarted the wrong server. I restarted the pyHME server, instead of the pyTivo server. Having the new source files with the old run-time modules gave it indigestion.
Back to top
View user's profile Send private message Visit poster's website
flymike



Joined: 10 Jul 2011
Posts: 4

PostPosted: Thu Aug 04, 2011 7:21 pm    Post subject: basic questions about the DVD plugin Reply with quote

Trying to get this plugin working for the first time...
1. Using DVD Decrypter to rip a movie DVD, do we use the default options? 2. How/when do the VOBs get renamed to mpgs? Are we supposed to do that manually?
3. In the sample default.txt, are Title 1, Title 2 etc keywords? DVD Decrypter indicates that the Main Movie PGC is "VTS_06/PGC 1". How does this related to Title 1, Title 2 etc in default.txt?
4. Once I get this working, can I expect (any) subtitles from the Movied DVD to show up when played on TiVo?
Back to top
View user's profile Send private message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Thu Aug 04, 2011 8:38 pm    Post subject: Re: basic questions about the DVD plugin Reply with quote

flymike wrote:
Trying to get this plugin working for the first time...
1. Using DVD Decrypter to rip a movie DVD, do we use the default options?

Yes, from memory I don't change anything. Note this is only necessary if the dvd is encrypted. Most of the DVDs I've ripped have needed this

flymike wrote:
2. How/when do the VOBs get renamed to mpgs? Are we supposed to do that manually?

Don't rename of change the decrypted files in any way. In fact if the DVD is not encrypted you can simply copy the contents to a folder. That's the beauty of the plugin.

flymike wrote:
3. In the sample default.txt, are Title 1, Title 2 etc keywords? DVD Decrypter indicates that the Main Movie PGC is "VTS_06/PGC 1". How does this related to Title 1, Title 2 etc in default.txt?

In default.txt Title 0 is automajically the "main title" (the longest track on the dvd). A little trial and error may be required to determine what the other titles are (making of, trailers etc). If you aren't interested in these simply do "Title X: Ignore" (where X is the title number) and it will hide it from the listing.

flymike wrote:
4. Once I get this working, can I expect (any) subtitles from the Movied DVD to show up when played on TiVo?

No, there is no support for subtitles on files transferred to the TiVo. This is a TiVo shortcoming, if and when they add support for this it could be included as part of the plugin. You need to transcode the video in order to include the subtitles as part of the video for the TiVo.
Back to top
View user's profile Send private message
lrhorer



Joined: 04 Mar 2008
Posts: 153

PostPosted: Sun Aug 07, 2011 9:37 am    Post subject: Re: basic questions about the DVD plugin Reply with quote

lucasnz wrote:
flymike wrote:
Trying to get this plugin working for the first time...
1. Using DVD Decrypter to rip a movie DVD, do we use the default options?

Yes, from memory I don't change anything.

Actually, I think the rip mode defaults to the wrong value. The user should rip to File mode, not ISO or IFO. You may want to change the default output directory, as well.

lucasnz wrote:
flymike wrote:
3. In the sample default.txt, are Title 1, Title 2 etc keywords? DVD Decrypter indicates that the Main Movie PGC is "VTS_06/PGC 1". How does this related to Title 1, Title 2 etc in default.txt?

In default.txt Title 0 is automajically the "main title" (the longest track on the dvd). A little trial and error may be required to determine what the other titles are (making of, trailers etc). If you aren't interested in these simply do "Title X: Ignore" (where X is the title number) and it will hide it from the listing.

To expand on this a bit, I suggest the user start out without creating any default.txt files or __Txx.mpg.txt files immediately after ripping a DVD. Point your browser to port 9032 on the pyTivo machine, and drill into the DVD folder of the newly ripped disk. The user will see some number of titles with duration and file sizes listed. From this, the user can make a good start at deciding what the order of titles actually is. One should then take one's best guess at which titles are which, and create the default.txt and __Txx.mpg.txt files accordingly. Try pushing each title, and if a DVD has its video order scrambled, shuffle around the names until the text matches the video content. Then, if you like, create the cover art. (I go to www.albumart.org to get my cover art.)
Back to top
View user's profile Send private message Visit poster's website
pmiranda



Joined: 18 Nov 2009
Posts: 4

PostPosted: Mon Aug 22, 2011 2:44 am    Post subject: How hard to hack the dvdvideo plugin to not have a folder? Reply with quote

I tried pointing a dvdvideo share right at my dvd drive, but it seems it can't grok that. Works fine if I copy the files to a subdirectory on the hard drive, though. This is with a non-copy-protected DVD and with AnyDVD to boot.

This would also let me use virtualclonedrive to load .iso's into a virtual drive and use the same trick.

Of course, if anyone felt like hacking in direct .iso support to the dvdvideo plugin, that'd be great, too Smile
Back to top
View user's profile Send private message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Mon Aug 22, 2011 5:30 am    Post subject: Reply with quote

Yeah I can see how reading isos would be useful if you had a whole lot of isos already. I have no need for this so have no plans to add it. Also most of the dvds I have, have some form of protection which needs to be removed so the current process works quite well for me. You'd also loose the ability to name the tracks.

Having said that I'm happy to look at the dvd drive issue. I'm going to be away for a week, I'll look at it next week.
Back to top
View user's profile Send private message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Thu Sep 01, 2011 9:57 am    Post subject: Reply with quote

Sorry, haven't had a chance to get to this yet. Maybe next week?

Luke
Back to top
View user's profile Send private message
pmiranda



Joined: 18 Nov 2009
Posts: 4

PostPosted: Thu Sep 01, 2011 2:25 pm    Post subject: Reply with quote

No worries...you get what you pay for Smile

I started going through the source tree for xbmc to see how they handle ISO files but got busy with other stuff myself.
Back to top
View user's profile Send private message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Sat Sep 17, 2011 4:03 am    Post subject: Reply with quote

Finally had a chance to look at the code. Basically the folder becomes the series name so that's why it was failing. I've set the code to set the series name to the same as the track name if no series name is returned.

In short, it should now work. I've pushed the update to my git.

Luke
Back to top
View user's profile Send private message
scicarb



Joined: 20 Sep 2011
Posts: 7

PostPosted: Tue Sep 20, 2011 2:53 am    Post subject: Two questions: DVD's not appearing and not config table Reply with quote

I am using the lucasnz fork of pytivo. I have two issues:
1. When I move DVD folders into the dvdvideo share some will appear with tracks and some appear without tracks. I noticed that a similar issue happened with the Bayer version, but I am using Windows Home Server v1 and file permissions do not match those for Linux. I've tried toggling the read only and archive flags to no avail. What should I look for?

2. When I click on the Web Configuration link the center column, where the variables and values would appear is blank.

I was running wmcbrine's fork, but wanted to take advantage of DVD shares. Other than these two issues, lucasnz's fork works perfectly.

_________________
pyTivo moving Tivo
Back to top
View user's profile Send private message
lucasnz



Joined: 13 Sep 2010
Posts: 251

PostPosted: Tue Sep 20, 2011 7:47 am    Post subject: Re: Two questions: DVD's not appearing and not config table Reply with quote

scicarb wrote:
I am using the lucasnz fork of pytivo. I have two issues:
1. When I move DVD folders into the dvdvideo share some will appear with tracks and some appear without tracks. I noticed that a similar issue happened with the Bayer version, but I am using Windows Home Server v1 and file permissions do not match those for Linux. I've tried toggling the read only and archive flags to no avail. What should I look for?.

Umm, I'd be surprised if it was a permissions thing. The default permissions in windows allow all users to read almost everything. One way to test this could be to run pytivo in a command prompt. Then it'll be running with your users permissions so if you can see the file pytivo will be able to as well... The DVD plugin does not need write permissions.

Is this issue seen on the web interface or when browsing the share from the tivo (or both)?

It's probably an issue with the IFO files. They're not very big, can you send them to me? Then I'll test them.

scicarb wrote:
2. When I click on the Web Configuration link the center column, where the variables and values would appear is blank.


I'm not 100% sure what you mean by this are you running the latest versions of pytivo and the dvd video plugin?

Luke
Back to top
View user's profile Send private message
scicarb



Joined: 20 Sep 2011
Posts: 7

PostPosted: Wed Sep 21, 2011 12:14 am    Post subject: Re: Two questions: DVD's not appearing and not config table Reply with quote

lucasnz wrote:

Is this issue seen on the web interface or when browsing the share from the tivo (or both)?

It's probably an issue with the IFO files. They're not very big, can you send them to me? Then I'll test them.


I pm'd you with the IFO files for 2 movies that show zero tracks on both the web interface and the tivo

lucasnz wrote:
scicarb wrote:
2. When I click on the Web Configuration link the center column, where the variables and values would appear is blank.


I'm not 100% sure what you mean by this are you running the latest versions of pytivo and the dvd video plugin?

Luke


I have attached a screenshot. I also noticed that the soft reset button also does not do anything.



WebConfigscreen.png
 Description:
 Filesize:  51.01 KB
 Viewed:  467 Time(s)

WebConfigscreen.png



_________________
pyTivo moving Tivo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.3644s ][ Queries: 20 (0.1028s) ][ GZIP on - Debug on ]