Sign up here and you can log into the forum!

Plugin: MovieSheet v0.2.2-2 (Update 2010/07/19)

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: MovieSheet (Update 2010/06/12)   

Postby recliq » Sat Jun 12, 2010 7:15 am

*UP*

added search for hidden files
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5021
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby recliq » Sun Jun 13, 2010 11:42 am

*up*
- added disabling linksheets script from plugin (now this should should work also with non ext3 firmware versions)
- added default sheet option
- added menu to change sheet mode
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5021
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby KAD » Fri Jun 18, 2010 7:49 pm

recliq great work I love having dynamic sheets now on non ext3 firmwares

one thing I've noticed maybe something for future versions, I use a usb hub with 5 drives plugged in, when I select USB 2, it shows each of the drives as a separate folder and displays my sheet at this level for the first folder selected, if I move to another folder at this level, it does not load the sheet for that drive, not a big deal, it still displays my custom background image, but maybe an improvement to come in future versions. almost forgot, all sheets below this level display correctly on current non-ext3 thanks

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4009
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby KAD » Sun Jun 20, 2010 11:14 am

recliq upon further investigation, I don't think my problem has anything to do with the moviesheet plugin, :D
it appears to be a wdtvext live issue :(

drive names are not being shown properly, example Drive name "Action & SciFi 2" is shown as "Action.&.Scifi.2" movies play correctly, but the sheet is named "Action & SciFi 2_sheet.jpg"
so the result is sheet name is not matching the folder name = no sheet displayed, this is not an issue running current b-rad firmware without wdtvext live

I'll post something in the wdtvext live thread about this

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4009
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby tkorth » Thu Jun 24, 2010 10:12 am

Hi, this looks great but I'm trying to get a hold of how it works.

If I'm reading the code right: roughly speaking, this plugin disables the original linksheets functionality, then as you change the selected media title (be it thumbnails or file names), the page change events cause the appropriate sheet in your movie directory to be displayed in the background?

This doesn't keep an overall list of movies and movie sheet file name, but instead loads each one on the fly?

And secondly:
Currently, all my sheets are named "movie.avi_sheet.jpg" and I've been displaying them in sheet mode with linksheets. Will this naming convention still work? Or do I need to rename my sheets as you listed:

movie.avi
movie.jpg
movie.avi_sheet.sheet.jpg
movie.avi_sheet.std.jpg
movie.avi_sheet.wall.jpg

While reading the code, I got lost on all the repository sheetfiles array stuff so wasn't sure if my old filenames would work.

Thanks.
tkorth
DLX'er
 
Posts: 59
Joined: Mon Apr 19, 2010 10:18 am

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby KAD » Thu Jun 24, 2010 10:39 am

@tkorth

same naming conventions work, all you need to do is have wdtvext live app.bin at root of drive and this plugin in the plugin's folder reboot, and it should work, sheet mode will be activated by default, but another nice feature is if you want to change to std, wall, etc you can do this through the gui with no reboot required

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4009
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby recliq » Thu Jun 24, 2010 11:08 am

KAD is right, but the plugin doesn't set/modifies any sheet settings by default. You hav to do it manually or by menu.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5021
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby tkorth » Mon Jun 28, 2010 5:28 pm

Thanks guys, but I cannot get it to work and I think I know what the problem is. I have my movies on a Buffalo Nas and use xmount to make the Nas a local folder. The path for this example is:
Video > Local Drives > Folders > Buffalo-Movies > Kids Movies > Aladdin (1992)
Here are the files in that folder

    Aladdin (1992).jpg (cover art folder icon)
    Aladdin (1992).m4v
    Aladdin (1992).m4v.tgmd
    Aladdin (1992).m4v_sheet.jpg
    Aladdin (1992).nfo
    fanart.jpg
    folder.jpg (same cover art folder icon)
    movie.nfo

If I navigate through Video > Local Drives > Folders > Buffalo-Movies > Kids Movies and put the cursor on Aladdin, the movie sheet doesn't show up. Clicking into the folder, I see my m4v file and the sheet shows up. Looking in dmaosd.log at the MovieSheet logs, I see it scans for "Aladdin (1992)_sheet.jpg", so I just need to add a _sheet.jpg for each folder to fix this problem. I tested this by adding Aladdin (1992)_sheet.jpg to the folder and now it works when I browse to the folder via Local Drives > Folders.

However, it still doesn't work when I go through Local Drives > All Movies. I'm using .addMounts to make the xmount drives show up as part of the usb so that I can use All Movies. I think this is part of the problem.

Here is the dmaosd.log of what happens when I put the cursor over Aladdin:

Code: Select all
key=33
ID: [Aladdin (1992).m4v]
WeatherPlugin.onPageKey on page basic_browse_thumb_video.xmlkey = 33
Plugin.MovieSheet: [ onPageKey ] (isMediaListPage) key: 33
Plugin.MovieSheet: [ setMovieSheet ]
Plugin.MovieSheet: [ findFileSheet ]
Plugin.MovieSheet:   path: 3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/Aladdin (1992).m4v
Plugin.MovieSheet:   name: Aladdin (1992).m4v
Plugin.MovieSheet:   mode: sheet
Plugin.MovieSheet:   repo:
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/wd_tv.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/.wd_tv.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/Aladdin (1992).m4v_sheet.sheet.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/.Aladdin (1992).m4v_sheet.sheet.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/Aladdin (1992).m4v_sheet.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   checking: '3//tmp/media/usb/USB2/947B-2F98/extra-devices/Buffalo-Movies/Kids Movies/Aladdin (1992)/.Aladdin (1992).m4v_sheet.jpg'
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet: [ checkFile ]
Plugin.MovieSheet:   file found: 'image/villa_bg.jpg'
Plugin.MovieSheet:   setting default sheet...


I think the directory MovieSheet is looking at is a link to the actual directory, but I don't understand why it wouldn't pick up "Aladdin (1992).m4v_sheet.jpg" and show the sheet. When I cd to that directory in the shell, I see all the jpg files.

Any thoughts?

And just to make sure I understand correctly, the benefit of MovieSheet is that when I power cycle the wdtv, I don't have to wait for it to scan everything to rebuild the msheets links?

Thanks.
tkorth
DLX'er
 
Posts: 59
Joined: Mon Apr 19, 2010 10:18 am

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby Buhric » Mon Jun 28, 2010 7:18 pm

what is that "3" in front of the file path ?
Buhric
Global Moderator
 
Posts: 616
Joined: Thu Apr 15, 2010 2:49 pm

Re: Plugin: MovieSheet v0.2.2 (Update 2010/06/13)   

Postby tkorth » Mon Jun 28, 2010 7:28 pm

Beats me. But it seems problematic doesn't it?
I checked the log again and that 3/ shows up in front of all the movies. When I click on the movie it plays just fine...
Plugin.MovieSheet: checking: '3//tmp/media/usb/

I'm not even sure where to begin with that...
tkorth
DLX'er
 
Posts: 59
Joined: Mon Apr 19, 2010 10:18 am

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 2 guests