Pages: [1]   Go Down
Print
Author Topic: Information for those developing Aggregation Tools  (Read 924 times)
jer1956
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 9 099


« on: February 01, 2013, 05:55:51 pm »

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.

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 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.

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  Grin


Mede8er1


Posted by Jer1956 on his behalf.
Logged
jer1956
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 9 099


« Reply #1 on: February 01, 2013, 06:09:47 pm »

The database is unchanged.  So offline scanning using a PC should remain the same, its just that you scan the agragated jukbox, not where the media is.
Logged
Lupissimo
Senior Member
***
Offline Offline

Posts: 297


« Reply #2 on: February 01, 2013, 07:06:01 pm »

Not being an expert on Network questions could you please help with the following:
I have a Synology NAS with 4 HDs each being a separate Volume (1..4) (no raid). On Volume 1 I have a Common Folder DE-Filme and in this 2 folders DE-Filme and HD-Filme each containing moviefolders (e.g. movie1, movie2 etc.)

The NAS is called Diskstation and has fixed IP 192.168.1.50. What is the correct <disklink> for an NFS connection ?
Logged
jer1956
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 9 099


« Reply #3 on: February 01, 2013, 08:32:20 pm »

Ive been told it's IP   - mount point.  So mede8er1 has a mount point of :-raid0/data/_NAS_NFS_Exports_/DVD_Music_Videos:

So  this is what yours should be like:-


nfs://192.168.0.100/volume1/DVD_Music_Videos:


The ":" is added when the filelink is created by Yadis2Mede8er. The guide only tells you  what to  set dunepath to in Yadis.

It's worth doing a  test using a small  test folder with Yadis/Yadis2mede8er to see what a filelink looks like.


you should deduce the following:-



nfs://IP/volume1/Export:/Sub Folder
Export = Share Name
Sub Folder would be Movie Folder
Unless there is another level
Mount for Synology = volume1
« Last Edit: February 01, 2013, 08:49:31 pm by jer1956 » Logged
Lupissimo
Senior Member
***
Offline Offline

Posts: 297


« Reply #4 on: February 01, 2013, 08:57:35 pm »

sorry, but I am still confused, since I shall not use yadis but my own software. Do you mean for movie1 on volume1 folder DE-Filme/DE-Filme/movie1folder:
<dislink>nfs://192.168.1.50/volume1/DE-Filme/DE-Filme/movie1:movie1<disklink>

Huh
Logged
jer1956
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 9 099


« Reply #5 on: February 01, 2013, 09:03:10 pm »

Yadis/yadis2mede8er is the "reference". Even if making your own tool  to "convert", you can use the "reference" to see what it produces for small test samples.

Dunepath in the Yadis guide only makes up a part of the fielink.   

We posted the yadis guide to  get people going. It wasn't designed for the purpose of telling you what filelink looks like.
Logged
Mede8er1
Administr8or
Hero Member
******
Offline Offline

Posts: 2 678



« Reply #6 on: February 01, 2013, 09:13:50 pm »


Quote
sorry, but I am still confused, since I shall not use yadis but my own software. Do you mean for movie1 on volume1 folder DE-Filme/DE-Filme/movie1folder:<dislink>nfs://192.168.1.50/volume1/DE-Filme/DE-Filme/movie1:movie1<disklink>

I expect it would look more like this
<dislink>nfs://192.168.1.50/volume1/DE-Filme:/movie1<disklink>
Logged

Mede8er1
The Greatest Show on Earth
Lupissimo
Senior Member
***
Offline Offline

Posts: 297


« Reply #7 on: February 01, 2013, 11:11:39 pm »

thank you for the example, but are you not missing one folder level DE-Filme/DE-Filme ??

and is it disklink ore filelink??
« Last Edit: February 02, 2013, 12:41:38 am by Lupissimo » Logged
Mede8er1
Administr8or
Hero Member
******
Offline Offline

Posts: 2 678



« Reply #8 on: February 01, 2013, 11:53:42 pm »

Quote
thank you for the example, but are you not missing one folder level DE-Filme/DE-Filme ??

and is it disklink ore filelink??

Could be as I dont know your exact folder structure

Maybe its like this

<filelink>nfs://192.168.1.50/volume1/DE-Filme:/DE-Filme/movie1<filelink>

or this

<filelink>nfs://192.168.1.50/volume1/DE-Filme:/DE-Filme/movie1/movie1<filelink>

Logged

Mede8er1
The Greatest Show on Earth
Pages: [1]   Go Up
Print
Jump to: