Author Topic: V2 - 5th Feb Aggregated JukeBox - Information and Phase 1 (Yadis) Guides  (Read 31592 times)

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 735
  • Helpful Contribution Status: +89/-17
Due to demand from our users we decided to implement Aggregated JukeBox functionality for the X3D Series. The concept is new for Mede8er and it will take some time until a lot of scrapers and tools support this. Yadis supports this functionality for Dune Players so with the help of 'funkycochise' and his tool Yadis2 mede8er this can now be done on the X3D Series. This functionality is new but should be robust within the Mede8er as we still use all the existing elements of the Movie JukeBox and the Mede8er.db remains the same.

UPDATE 8 Feb2013 We will include new Movie JukeBox Aggregation functionality with the next V2 BETA so that users can make Aggregation JukeBoxes from the Mede8er GUI. We expect this development to be ready +- end Feb2013.

The way it works is to have a 'Workspace' or dummy Jukebox in a specific location. The dummy JukeBox can be on the Mede8er HDD or a USB Stick or USB Drive of on a Samba or NFS  Network share. The dummy JukeBox contains the full folder structure of the original Movie JukeBox with each movie in its own folder. Within each folder you will have the normal Mede8er folder.jpg and about.jpg and the Movie.name.xml or folder.name.xml. The dummy JukeBox also uses the Mede8er.db for xml search functionality so it also needs to be scanned. Practically you would navigate to this dummy JukeBox folder and add it to Favourites. In Favourites you would scan it and you now ready to go.

How does it work
When you try try to Play the movie the Mede8er firmware V2.0.0 - 24Jan or later will detect that there is no movie in the folder and it will open the movie.name.xml or folder.name.xml and check a new field entry called 'filelink'. This filelink contains information on the connection type and the path that Mede8er needs to use in order to play the movie.

Filelink details
Samba]
<filelink>smb://192.168.0.2/Share_Name/Folder/Sub Folder</filelink>
Samba within Login
<filelink>smb://User Name:Password@192.168.40.134/Share_Name/Folder/Sub Folder</filelink>
USB/HDD]
<filelink>storage_label://LABEL/Folder/Sub Folder</filelink>
NFS
<filelink>nfs://Host_IP/Path/To/Export:/Sub Folder</filelink>


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Yadis Path Setup xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  

Yadis is used as the scraper and we will be using the 'Dune' profile.  

In Yadis select Setup
A. General Tab
1. In The Profile tab select Dune
2. Set the Workspace path (this is Yadis temp folder)
3. Dune Interface location - not required
4. Other settings according to preference
B. Folders Tab.  
1. Select 'Add'
2. Set the Folder Path
3. Set the Dune Path

Samba
smb://192.168.0.2/Share_Name/Folder/Sub Folder
Samba within Login
smb:/User Name:Password@192.168.40.134/Share_Name/Folder/Sub Folder
USB/HDD
storage_label://LABEL/Folder/Sub Folder
NFS
nfs://Host_IP/Path/To/Export:/Sub Folder

Samba Example
When you point to a share the Dune Path will look like this (Obviously the share name and folder will show the actual you have selected)
storage_label:///Share_Name/Folder
Replace the 'red' with smb://IP
ie
smb://192.168.0.2/Share_Name/Folder

Samba Example with Login
When you point to a share the Dune Path will look like this (Obviously the share name and folder will show the actual you have selected)
storage_label:///Share_Name/Folder
Replace the 'red' with smb:/User Name:Password@IP
ie
smb://User Name:Password@192.168.0.2/Share_Name/Folder

NSF
If the NFS share in on a NAS it will look like this when you enter the path
smb://192.168.0.100/Movie_Collection/Movies
Replace the 'red' with nfs://Host_IP/Path/To/Export:/Sub Folder

Actual example of my path to my Thecus nas
nfs://192.168.0.100/raid0/data/_NAS_NFS_Exports_/DVD_Music_Videos:

USB Drives and Internal HDD
We have a bug with internal HDD so please do not use this for the current round of testing. USB Drives are working fine.Will fix this asap Fixed V2 - 31Jan
This is correct so need need to change anything
ie
storage_label://Drive Name/Folder/ Sub Folder etc

Once you have set the 'storage_labels' as above and then scraped your movies you will be ready to convert the images and xml to Mede8er standard


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx NFS HaneWIN on PC Setup xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


HanWIN export for sharing the whole drive

e:\ -public -name:e

e = 'Export'

Dune Path should look like this
nfs://192.168.86/e:/Folder/Sub Folder  (add additional Sub Folders according to your actual path - do not include the final folder that holds the movie) - so edit it until it looks like this

Your filelink in the folder.name.xml should look like this
<filelink>nfs://192.168.86/e:/Folder/Sub Folder/Movie Name Folder</filelink>

For Dune Path you list all the folders in the path but not the final folder that holds your movie as YADIS will add this.

HanWIN export for sharing a Folder
e:\FOLDER_NAME -public -name:FOLDER_NAME

FOLDER_NAME = the actual folder you want to share and this is called an 'Export'

Dune Path should look like this
nfs://192.168.86/FOLDER_NAME:/Folder/Sub Folder  (add additional Sub Folders according to your actual path - do not include the final foder that holds the movie) - so edit it until it looks like this

Your filelink in the folder.name.xml should look like this
<filelink>nfs://192.168.86/FOLDER_NAME:/Folder/Sub Folder/Movie Name Folder</filelink>

For Dune Path you list all the folders in the path below the 'Export' but not the final folder that holds your movie as YADIS will add this.


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Yadis2Mede8er xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


UPDATE BETA 12 - 28Jan2013
Download  Yadis2Mede8er beta12 and unrar and copy contents to a new folder in Program Files and make a shortcut

https://www.dropbox.com/s/x29enav4rl3ded1/Yadis2mede8er%20beta%2012.7z

Changelog
1. Fixes : unclosed tag when no genres, cast and so on.

Latest Beta can be found in this thread:-
http://www.mede8erforum.com/index.php/topic,10081.0.html

Launch Yadis2Mede8er

1. Go to Settings
1. Fill in the Yadis Workspace folder
2. 'Aggregate jukebox' is the new 'dummy jukebox' that  Yadis2Mede8er will create so you need to make a folder and name it whatever you like and it can be on USB, Mede8er HDD, Samba Share, NFS share. Point to this folder
3. Check 'Use Dune profile in Yadis'
4. Check Aggregate jukebox  
5. Make sure 'Resize folder.jpg is checked and size is 160 x 237
6. Make sure foll are checked Folder.jpg, About.jpg, Movie.xml
7. Select Save
8 Back to main page
9. If you select 'send all' then Yadis2Mede8er will always send ALL images and xml to the dummy jukebox. If you leave it unchecked it will only save new updated information
10. Run 'Mede8erize' and a complete dummy JukeBox will be built in the Aggregate JukeBox folder

Treat the new Aggregate JukeBox like a normal Mede8er JukeBox
ie
1. Navigate to this new Dummy JukeBox in the X3D
2. Make a Favlink
3. Scan the Favlink


Good Luck  ;D


Mede8er1


  


  
« Last Edit: March 03, 2013, 08:40:29 pm by Mede8er1 »

Mede8er1
The Greatest Show on Earth
Read the user Guides
http://www.mede8er.com/mede8er_support_user_guides.htm

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 16 859
  • Helpful Contribution Status: +178/-32
Re: V2 - 24 Jan Aggregated JukeBox - Information and basic giudes
« Reply #1 on: January 28, 2013, 09:56:44 am »
My guide:-

Reference Scenario for Aggregated Jukebox


This is not called a Simple, or Basic , or Standard guide, for many will say it's none of these because it uses Yadis, and they  don't.   We don't want  users to  think the Aggregated Jukebox is restricted because of that. Instead those not currently using Yadis should do  a small experiment using this Reference Scenario and prove one point.  That is, at the end of the Aggregation Process the only difference between a folder in a Normal Jukebox and one in the Aggregated Jukebox, is the latter has no media in it's folders and has “one”, yes, “one” extra line added to the current XML. So adding the extra line is something that can be added to other tools, and the scrape already in your current Normal Jukeboxes. Hopefully some may  even volunteer to  do it...


Reference Setup
1) X3d hosting Normal Jukebox on internal  drive and/or usb drive
2) One or more NAS hosting Normal Jukebox on shares
3) PC hosting Yadis and YadistoMede8er

Yadis

1) Open Yadis. Select Setup. On the General Tab select the Dune Profile. You have the option to  change the Yadis workspace location. The Yadis workspace will function best on the Yadis host. It is not the Aggregated Jukebox. You  don't have to  put in on the player, or the NAS.

2) Select the Folders Tab in Setup. One by one “Add” the location of your current Normal Jukeboxes. The Add button allow you  to browse to  parent folder for each Normal jukebox to select.  

This next point is crucial.

The path Yadis will find is the path relative to  the Yadis host, not the player.  For Network devices that  will be the same, but for the storage on the player, that will be seen  as network storage if scraped over the network. Likewise, storage on the Yadis host will be seen as local, but the player will need a Network Dunepath to it. So for those you must change the Dunepath from the one found to the correct one for the players perspective using the drop list. The route to  the folder for scraping remains the same.

When all has been added press OK.

3) You are now back at the main screen with a list of movies. This will be a huge list of unprocssed movies if you haven't already used Yadis to create you normal Jukebox.  At this point you see why waiting for  a conversion tool  may be the wisest option. Go  through the unprocessed movies one by one.  When you have finished close Yadis. Everthing we need is now in the Yadis workspace. Again, that is not the Aggregated Jukebox

YadistoMede8er  

1) Open Yadis beta 11 or later.  Select the Settings Tab.  The Yadis workspace should be the default. If you changed it in Yadis you must change it here to  match.    Now use the Aggregated Jukebox browser to point at where you  want to host the aggregated jukebox, we assume the X3D. You should end up with something showing \\X3D\hdd1\folder. Of the other options tick Use Dune profle and Aggregate jukebox. Press Save!!!

2) Select the Run Tab. Select Mede8erize. One by one each movie will be listed as In Progress , followed by xml  generated.  Finally you get “Completed,  X movies processed!”

3) Check  the folder you specified as the Aggregated Jukebox over the network. It should have Movie folders, and each folder has scape art and an XML, but no movie!   The XML should have a filelink entry.

X3D

1) Return to player. Use Media Library to  find the  Aggregated Jukebox. Make it a Favourite link and scan  as normal.   Then play as normal. Everything looks the same as normal, movies load and play  as normal..but none of them are stored in the Jukebox!


To come...Advanced Guides

I have already experimented with making a hybrid jukebox on a usb drive. That has some folders with filelinks,  and other storing the movies on the USB drive itself. Such a jukebox can be moved from player  to player  as now, but has the links to all  the network  storage in it as well.
« Last Edit: February 07, 2013, 11:27:14 am by jer1956 »

Offline couto

  • B8a Tester - 1000X3D
  • Hero Member
  • ****
  • Posts: 853
  • Helpful Contribution Status: +6/-1
Re: V2 - 24 Jan Aggregated JukeBox - Information and basic giudes
« Reply #2 on: January 31, 2013, 04:46:57 pm »
DUMMY JUKEBOX GUIDE (  example to share 2 external hard drives attatched to computer  )

1- open yadis > setup



2- general
3-choose dune profile
4-yadis worspace



5- folders
6-add



7- choose hard drive (this example is (E:) > choose files movies
8- press ok



9-  do the same to second hard drive ( in this exampe is (H:) click ok



10- process movies has normal



11- open yadis2mede8er > go to settings



12-   this is where your dummy jukebox will be stored, can be anywhere, (smart card, hd , network ) but accessible by  x3 player
13-  create new file (  this example i  named  "jukebox share") choose localization
14- ok
15- save




16- if  "send all" is tick it will scan all the hard drives > mede8rize > completed




from here, attached external hard drives to x3 > navigate in x3 menu to  " jukebox share" made  in step 13 >  add the "jukebox share " to favorites > go to favorites  scan hard drive

 
« Last Edit: January 31, 2013, 04:56:50 pm by couto »
Med1000X3D
Anthem MRX-310
Mitsubishi HC5
LG Oled 1080P
100 inch screen
Video setting: 23,976Hz On, auto frame ON
Media Source: Wired Network > ds412+ synology
Router. Linksys E4200
Protocol : UDP 32K
Media Files:ISO 3D, MKV, FLAC

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 16 859
  • Helpful Contribution Status: +178/-32
Re: V2 - 5th Feb Aggregated JukeBox - Information and Phase 1 (Yadis) Guides
« Reply #3 on: February 08, 2013, 03:45:14 pm »
Since Phase 1 uses Yadis and Yadis2mede8er can you please post questions on the role of either of these tools in the relevant Community Tools section.


http://www.mede8erforum.com/index.php/board,144.0.html


Phase 2 will include internal creation of Aggregated Jukeboxes sourced from your current jukeboxes (created with ANY scraper!) via the Med gui.

This excellent tool is based on what Phase 2 will do, and probably does more....
 http://www.mede8erforum.com/index.php/board,147.0.html

This tool has no part to play in the Phase 1 solution.
« Last Edit: February 25, 2013, 09:25:13 pm by jer1956 »

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 16 859
  • Helpful Contribution Status: +178/-32
Re: V2 - 5th Feb Aggregated JukeBox - Information and Phase 1 (Yadis) Guides
« Reply #4 on: February 09, 2013, 10:05:08 am »
The Aggregated jukebox knows which local drive media is on  via the Volume Name (Drive Name).  So internal drives and USB drives must be given  a  unique Volume Name using a PC.  So it's possible to  aggregate multiple internal drives one by one   and host it on an SD card.  The jukebox should then tell you which  Volume to install to play  the movie you have selected.  This is beta firmware so  all the issues related to unmounted media have not yet been addressed. 

The internal  formatter will now give internal  drives the Volume Name "Mede8er", but you don't want to  reformat  just to do  that.

You might find your current internal drive with no volume name can use "SYSTEM" instead.
« Last Edit: February 09, 2013, 11:46:58 am by jer1956 »