[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
forum.wdlxtv.com • MSHEETDIR migration guide
Page 1 of 17

MSHEETDIR migration guide

PostPosted: Sun Jul 31, 2011 1:48 pm
by KAD

Re: MSHEETDIR migration guide

PostPosted: Sun Jul 31, 2011 3:51 pm
by RavRob
Very nice tut bro. Thanks

Re: MSHEETDIR migration guide

PostPosted: Sun Jul 31, 2011 11:00 pm
by mad_ady
Took the liberty to wikify your tutorial, KAD
http://wiki.wdlxtv.com/MSHEETDIR_migration_guide

Feel free to update/beautify it at will

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 2:30 am
by engineer14
Thanks for your guide !

One thing I´d like to add: With your guide, linksheet will still scan all drives at startup, making it rather slow for some minutes.
Maybe you would like to add b-rad´s way of disabling scanning to your guide (via S00user-script), as you discussed at http://forum.wdlxtv.com/viewtopic.php?f=55&t=4407&p=36996&hilit=msheetdir#p36996 ?

Works very smooth here.

Of course you have to update linksheets manually then, but you don´t have to do the renaming of sheets. Just copy the new sheets to MSHEETDIR and run linksheets then via telnet/SSH.

Sidenote: Here it didn´t work with a ntfs - usb Stick, nor on an ntfs hdd. Only ext3 worked. No idea why.

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 8:21 am
by KAD
@mad_ady, thanks

@engineer14, the link you provide is some good background, it's that discussion combined with the need to modify the linksheet script to handle menusheets as well that resulted in this tutorial,

my recommendation though would be to leave linksheets as it is, and not disable it with the user-script
afterall if linksheets is disabled how will MSHEETDIR work ;)

some more details about the script that may be interesting

linksheet script is actually called S67msheet it scans for moviesheets and then links them to a directory /msheets
this directory /msheets then get's unionfs 'd with /osd
this results in the a file like Batman_sheet.jpg appearing is /osd as Batman (and yes it's still a jpg, even though it's not named as one)
this file along with some edits that have been done to the .xml's located in /osd causes the image to be displayed on screen

the linksheet script also does one other thing, it handles MSHEETDIR, when MSHEETDIR is set the script will mount -o bind the directory to /msheets which is unionfs 'd with /osd, no scanning required but linksheets must be ON to have the script run,
this is also why, MSHEETDIR will work on fat32 and I suspect NTFS or other format types, there are no format restrictions on a mount -o bind command

so providing that there are no other sheets on the system once MSHEETDIR is mounted and then union 'd linksheet script will exit, my current set up the light only blinks maybe 2 or 3 times and then stops

however if MSHEETDIR is set and duplicate or other sheets are on the system linksheets will continue to scan and create links, this is where the problems are found with drive formats, linksheets ends up attempting to create symlinks on a drive who's format does not support it, this is what causes corruption of MSHEETDIR, if fact this causes corruption on some file systems while others it results in the file being completely removed/deleted

KAD

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 8:42 am
by xRap

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 9:13 am
by KAD
added a note about directory starting with a period .MSHEETDIR is a good idea

also thanks for confirming it works on NTFS drives

on the early mount, glad it's working for you without, but yes, still highly recommended as early mount is the way to ensure the drive gets mounted the same place every time

KAD

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 10:10 am
by engineer14

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 10:30 am
by KAD

Re: MSHEETDIR migration guide

PostPosted: Mon Aug 01, 2011 10:31 am
by recliq