Splitting the Jukebox and Content Shares
| Author |
Message |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Splitting the Jukebox and Content Shares
hi archie glad the partitions are sorted /tmp/usbmounts/sda1 is the correct path to the first usb drive btw.
Andy
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Sun Apr 29, 2012 2:43 pm |
|
 |
|
archie1810
Joined: Fri Dec 18, 2009 8:18 am Posts: 135 Location: Far in Singapore
|
 Re: Splitting the Jukebox and Content Shares
AndyA wrote: /tmp/usbmounts/sda1 is the correct path to the first usb drive btw.
Hi Andy, Well, that is my problem, I just realized that my USB drive is sometime on sda1/sda2 and sometime on sdb1/sdb2 - and it keep changing randomly. FYI: even I have only 1 USB thumbdrive plugged into my PoHD Player on its side USB ports (the top one). How to keep my USB thumbdrive to always has on sda1 and sda2? And even though I can see the second partition on my PoHD player, it seems that it is not write-able? Thanks again  Arc.
|
| Mon Apr 30, 2012 3:53 pm |
|
 |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Splitting the Jukebox and Content Shares
Hi archie I'm not sure how or why the drive keeps changing on the player - mine does not. In terms of the patition not being readable, what type of file system and partition have you created? You could always use fidsk from linux to create the second partition
Andy
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Mon Apr 30, 2012 3:57 pm |
|
 |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Splitting the Jukebox and Content Shares
Hi Archie - did your problem get resolved?
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Wed Jul 04, 2012 8:43 am |
|
 |
|
archie1810
Joined: Fri Dec 18, 2009 8:18 am Posts: 135 Location: Far in Singapore
|
 Re: Splitting the Jukebox and Content Shares
Hello Andy, Thanks for getting back to me on this. I'm not doing anything yet on this matter for now - I will touch back again someday later. Thanks again, sir. Rgds, Arch. 
|
| Thu Jul 05, 2012 2:14 am |
|
 |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Splitting the Jukebox and Content Shares
No problem Archie - I'll leave the topic open for a while. In the event it's locked and you want to start work on it again, either create a new topic or send me a PM and I'll unlock it Andy
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Thu Jul 05, 2012 8:27 am |
|
 |
|
archie1810
Joined: Fri Dec 18, 2009 8:18 am Posts: 135 Location: Far in Singapore
|
 Re: Splitting the Jukebox and Content Shares
Sure, I will do. Cheers... 
|
| Thu Jul 05, 2012 10:32 am |
|
 |
|
archie1810
Joined: Fri Dec 18, 2009 8:18 am Posts: 135 Location: Far in Singapore
|
 Re: Splitting the Jukebox and Content Shares
Hi Andy, I have recently trying to work on this thread-post advices and managed to get all sorted out including your advices to add these lines into srC inside the PlayOn player itself through vi command. sleep 30 mount -t cifs //192.168.1.68/movies /mnt/usbmounts/sda1/movies -o ro,username=guest mount -t cifs //192.168.1.68/jukebox /mnt/usbmounts/sda2/jukebox -o username=guest Now I have questions just to be sure I'm compiling correctly the folder as you specifically mentioned that my movies in my NAS is placed all into one folder called "movies" - which is not the case actually. My movies are placed into various folders according to their type and resolution besides I have 3 NAS actually  ) Their IP Address: 192.168.2.234 and .235 and .236. And the movies inside each NAS are foldered into: 1. Full-HD 2. Documentaries 3. Children-Movies 4. TVSerials What do I need to do so that they are accessible into the advices on this thread? Do I need to just compile them into a single Jukebox so that the Library in the "YAMJ" Compiler will need to cover those movies locations? Or I can split them even into different set-of-2-folders (movies-jukebox) in my thumbdrive for each of the Movies locations in each NAS? I have 2 partitions in my thumbdrive - each partition size at about 8GB as sda1 and sda2. Thanks - and very sorry to know my complex situation here. Best Regards, Arc. 
|
| Mon Oct 08, 2012 4:05 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Splitting the Jukebox and Content Shares
Hi Archi, I use something like this in my library file...
<!-- Modified GregiBoy 04/06/2012 -->
<libraries> <library> <path>M:\Movies\Archived</path> <playerpath>file://../../../../tmp/usbmounts/sda7/Kaiboer/usb1/Movies/Archived/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>3.Archived</description> <prebuf></prebuf> <scrapeLibrary>false</scrapeLibrary> </library> <library> <path>M:\Movies\New</path> <playerpath>file://../../../../tmp/usbmounts/sda7/Kaiboer/usb1/Movies/New/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>1.New</description> <prebuf></prebuf> <scrapeLibrary>false</scrapeLibrary> </library> <library> <path>M:\Movies\Added</path> <playerpath>file://../../../../tmp/usbmounts/sda7/Kaiboer/usb1/Movies/Added/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>2.Added</description> <prebuf></prebuf> <scrapeLibrary>false</scrapeLibrary> </library> <library> <path>M:\Movies\Concerts</path> <playerpath>file://../../../../tmp/usbmounts/sda7/Kaiboer/usb1/Movies/Concerts/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>4.Concerts</description> <prebuf></prebuf> <scrapeLibrary>false</scrapeLibrary> </library> <library> <path>T:\TV\Airing</path> <playerpath>file://../../../../tmp/usbmounts/sda7/TV/Airing/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>Airing</description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library> <library> <path>T:\TV\Break</path> <playerpath>file://../../../../tmp/usbmounts/sda7/TV/Break/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>Break</description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library> <library> <path>T:\TV\Finished</path> <playerpath>file://../../../../tmp/usbmounts/sda7/TV/Finished/</playerpath> <exclude name="sample,tmp/,temp/,RECYCLE.BIN/"/> <description>Finished</description> <prebuf></prebuf> <scrapeLibrary>true</scrapeLibrary> </library> </libraries>
I use a script like this to make sure that the drives are ready and mounted when they are ready otherwise it all turns to crap... And run the script at the end of rcS.
#!/bin/ash
#Check that the USB attached drive is alive and has the correct directory sleep 60 LOGFILE=/tmp/log/mountkaiboer.log DIR1=/tmp/usbmounts/sda7/Kaiboer STATUS=Z date 1>$LOGFILE if [ -d $DIR1 ]; then echo $DIR1 " exists." 1>>$LOGFILE STATUS=A else i=1 until [ -d $DIR1 ] ; do let i+=1 ; sleep 1 echo $i 1>>$LOGFILE if [ $i -ge 120 ] ; then echo $DIR1 " does not exist." 1>>$LOGFILE STATUS=B break ; fi done fi echo $STATUS 1>>$LOGFILE if test $STATUS = "A" then echo "USB Directory Exists" 1>>$LOGFILE #Now check that NAS is alive ping 10.1.1.240 1>>$LOGFILE pingstatus=$? if test $pingstatus -eq 0 then echo "NAS Alive" 1>>$LOGFILE mount -t cifs -o username=root,password=smb123,RO, //10.1.1.240/dev /tmp/usbmounts/sda7/Kaiboer mountstatus=$? if test $mountstatus -eq 0 then echo "NAS Mounted" 1>>$LOGFILE else echo "NAS Mount Error" 1>>$LOGFILE fi else echo "NAS not Active" 1>>$LOGFILE fi else echo "USB Drive does not Exist" 1>>$LOGFILE echo "No attempt to mount NAS" 1>>$LOGFILE fi
Hope this helps. Regards Greg..
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
|
| Mon Oct 08, 2012 6:54 am |
|
 |
|
archie1810
Joined: Fri Dec 18, 2009 8:18 am Posts: 135 Location: Far in Singapore
|
 Re: Splitting the Jukebox and Content Shares
GregiBoy wrote: Hi Archi, I use something like this in my library file... <!-- Modified GregiBoy 04/06/2012 --> Hope this helps. Regards Greg.. Hi Greg, Thanks a millions - I didn't notice there is a reply in my post. I will have a try to follow your footstep above and will do configuration. If I might stuck somewhere - I think I will need a fresh firmware to flush my player firmware.  And I have prepared the thumbdrive for this purpose too. Thanks again Greg. Best Regards, Arc. 
|
| Thu Oct 11, 2012 4:08 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 0 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
|
|