Sign up here and you can log into the forum!

LINKSHEETS for IDIOTS

Everything (else) to do with Movie Sheets and homebrew firmware on the WDTV(s), including how the %*#^ do I get them working?

Re: LINKSHEETS for IDIOTS   

Postby Harry_89 » Wed Feb 01, 2012 3:24 am

Hi,

I got a problem with my Sheets.

This is the way i organize my files.
Everything is stored on a NAS.
I have a mountingtable and all works fine, but the sheets are not displayed in the correkt order.

X:\Movies\Genre\Moviename\Moviename.ext
folder.jpg
Moviename.jpg
Moviename.ext_sheet.jpg
Moviename_Sheet.jpg

When I scroll to a Folder, my wdtv live always shows me the Moviename.ext_sheet.jpg not the Moviename_Sheet.jpg.
When I go inside the folder everything is ok and the Moviename.ext_sheet.jpg is shown.

I tried it with zzzMoviename_Sheet.jpg but this doesn't work.

Where's my problem and how can I fix it?

Thank you.
Harry_89
n00b
 
Posts: 6
Joined: Wed Feb 01, 2012 3:16 am

Re: LINKSHEETS for IDIOTS   

Postby superbigjay » Wed Feb 01, 2012 5:53 am

Harry_89 wrote:Moviename_Sheet.jpg

not sure if it's a typo, but your folder sheet should be named
Moviename_sheet.jpg (s in lowercase)

Also, there's a known problem with the linksheet script where it link the wrong sheet in some cases...

If this is your problem, you could either
- wait for the new script to be ready and released (no ETA yet)
- manually run the new script
- do the famous MSHEETDIR migration and manually copy your files instead of using linksheet

note: the new linksheet script is here

Jay
WDTV-LIVE-PLUS : WDLXTV-PLUS ver 0.5.1.1 (FW Base 1.05.04)
WDTV-LIVE : WDLXTV-LIVE ver 0.5.1.1 (FW Base 1.05.04)
... and also a PBO : MEDE8ER 1026
superbigjay
OCDLXer
 
Posts: 236
Joined: Sun Sep 04, 2011 7:58 am
Location: Montreal, Quebec, Canada

Re: LINKSHEETS for IDIOTS   

Postby Harry_89 » Wed Feb 01, 2012 6:05 am

I think my problem is the known problem with the script.

I give the new script a shot, but how i use the script? :oops:
Harry_89
n00b
 
Posts: 6
Joined: Wed Feb 01, 2012 3:16 am

Re: LINKSHEETS for IDIOTS   

Postby recliq » Wed Feb 01, 2012 8:17 am

Not really a noob task on flashed firmware:
- create the new linksheets script in /conf: /conf/linksheets.pl:
- make sure it's *nix format and executable:
Code: Select all
dos2unix /conf/linksheets.pl
chmod a+x /conf/linksheets.pl

- create user script /conf/S00user-script:
Code: Select all
#!/bin/sh
mount --bind /conf/linksheets.pl /usr/bin/linksheets

- make sure it's *nix format and executable:
Code: Select all
dos2unix /conf/S00user-script
chmod a+x /conf/S00user-script

- save config and reboot
Code: Select all
config_tool -s && reboot
­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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: LINKSHEETS for IDIOTS   

Postby Harry_89 » Wed Feb 01, 2012 9:21 am

I think I have done everything like your Tutorial.

The File linksheets.pl is there under /conf
There I copied the Code.
The S00user-script is also there with the Code you providet.

But the moviesheets don't display...
Harry_89
n00b
 
Posts: 6
Joined: Wed Feb 01, 2012 3:16 am

Re: LINKSHEETS for IDIOTS   

Postby recliq » Wed Feb 01, 2012 9:53 am

And this is where the n00b part finally stops and you have to start debugging...

1. Make sure you don't have configured any MSHEETDIR
Code: Select all
grep MSHEETDIR /conf/config

should give you
Code: Select all
MSHEETDIR=''


2. Make sure you can execute the new script from shell
Code: Select all
/conf/linksheets.pl /tmp/media/usb

this should not give any error messages...

3. Check if the script created any links in /msheets directory
Code: Select all
ls -al /msheets/
­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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: LINKSHEETS for IDIOTS   

Postby Harry_89 » Wed Feb 01, 2012 9:59 am

When i set this code
Code: Select all
/conf/linksheets.pl /tmp/media/usb


I get this

Code: Select all
-sh: /conf/linksheets.pl: Permission denied


And that's the outpoot from ls -al /msheets/

Code: Select all
drwxrwxrwt    2 root     root           40 Dec 31 16:00 .
drwxr-xr-x    1 root     root          424 Dec 31  1969 ..



ahhh..
I got it, after a reboot the chmod is a different than before the reboot, so I'm not able to execute the script.
When I change the chmod, it works fine.

But why does it change?
Last edited by Harry_89 on Wed Feb 01, 2012 10:07 am, edited 1 time in total.
Harry_89
n00b
 
Posts: 6
Joined: Wed Feb 01, 2012 3:16 am

Re: LINKSHEETS for IDIOTS   

Postby superbigjay » Wed Feb 01, 2012 10:05 am

is you script executable?

Code: Select all
ls -al /conf/linksheets.pl


you should the the execute permission (x) in the attributes
WDTV-LIVE-PLUS : WDLXTV-PLUS ver 0.5.1.1 (FW Base 1.05.04)
WDTV-LIVE : WDLXTV-LIVE ver 0.5.1.1 (FW Base 1.05.04)
... and also a PBO : MEDE8ER 1026
superbigjay
OCDLXer
 
Posts: 236
Joined: Sun Sep 04, 2011 7:58 am
Location: Montreal, Quebec, Canada

Re: LINKSHEETS for IDIOTS   

Postby Harry_89 » Wed Feb 01, 2012 10:10 am

After a reboot I'm not able to execute the Script.
When I set the chmod, I'm able to do it.

I get this after setting the chmod.

Code: Select all
-rwxr-xr-x    1 root     root        10859 Dec 31 16:00 /conf/linksheets.pl


So the chmod changes everytime i reboot my device.

But why?!?
Harry_89
n00b
 
Posts: 6
Joined: Wed Feb 01, 2012 3:16 am

Re: LINKSHEETS for IDIOTS   

Postby recliq » Wed Feb 01, 2012 10:26 am

it's a known problem with scripts in /conf, just add the chmod to the S00user-script
Code: Select all
#!/bin/sh
chmod a+x /conf/linksheets.pl
mount --bind /conf/linksheets.pl /usr/bin/linksheets
­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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

PreviousNext

Return to Movie Sheet Support & Discussion

Who is online

Users browsing this forum: No registered users and 0 guests