Author Topic: Yadis2mede8er  (Read 456762 times)

Offline funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Yadis2mede8er
« on: January 13, 2013, 05:21:27 PM »
Hi there

The author of Yadis announced that he would fully support mede8er in a coming future.
By the way thanks to him (Frédéric L'hote) for his great work !

As I needed it for now, and didn't want to use something else, I just wrote a small tool to do the job :



Latest build 1.1 : 28/05/2013

http://www.mediafire.com/download/u93lpwg0dv5hp33/Yadis2mede8er_1_1_280513.7z

Mede8erize generates xml files for each movie in yadis folder and copy it to matching movie folder.
Folderize looks for movie files in movie folder, create a newfolder for that movie and copy the movie file inside.

Movie folders are the ones set in Yadis.

Note : using folderize may take a while to complete, especially with remote NAS. So if your files doesn't appear right away after process ended in GUI of yadis2mede8er, it's normal : just wait several minutes.


Basic Guide for Beta 13



Basic Guide Mede8er Aggregate JukeBox

http://www.mede8erforum.com/index.php/topic,10217.0.html

Even if GUI has changed a bit, previous guide for aggregate jukebox remains usable : settings Tab ishouldn't disturb that much

FKY
« Last Edit: August 12, 2014, 04:25:19 PM by Mede8er1 »

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #1 on: January 13, 2013, 05:53:15 PM »
funkycochise

Fantastic News ;D

Why dont we open a Beta Test group for this?

Well done.

Mede8er1
« Last Edit: January 13, 2013, 06:10:08 PM by Mede8er1 »

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

Offline Maasbommel

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 11 500
  • Helpful Contribution Status: +51/-8
Re: Yadis2mede8er
« Reply #2 on: January 13, 2013, 05:57:15 PM »
GREAT!
I am sure a lot of community members will love this....
Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Couto X3D Newbies Guide first.

Please don't PM me but post on the forum.

Offline funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #3 on: January 14, 2013, 07:44:39 AM »
funkycochise

Fantastic News ;D

Why dont we open a Beta Test group for this?

Well done.

Mede8er1
Hi mede8er1,

just wait for the first release. It should arrive these days.

is there somewhere a template available for the movie.xml recognized by mede8er ?


Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #4 on: January 14, 2013, 08:19:30 AM »
funkycochise

Great ;D

I suggest you use the attached sample XML as a template as it has all the fields that the Mede8er requires to show XML info and for the Movie JukeBox.

Mede8er1

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

Offline funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #5 on: January 14, 2013, 08:49:05 AM »
funkycochise

Great ;D

I suggest you use the attached sample XML as a template as it has all the fields that the Mede8er requires to show XML info and for the Movie JukeBox.

Mede8er1
I had my template from the one generated by DuneX. I can see that are no info about the media here, so I can remove some markup i am currently exporting.

All fields you specified in attachment are exported by now.

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #6 on: January 14, 2013, 09:25:51 AM »
funkycochise

Correct we just use the fields as foll

<details>
<movie>
 <title></title>
 <year></year>
 <rating></rating>
 <plot></plot>
 <runtime></runtime>
<genres>
 <genre></genre>
 <genre></genre>
 <genre></genre>
 </genres>
 <director></director>
<cast>
 <actor></actor>
 <actor></actor>
 <actor></actor>
 <actor></actor>
 <actor>i</actor>
 <actor>i</actor>
 </cast>
 </movie>
 </details>

Mede8er1

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

Offline rickavmaniac

  • B8a Tester - 1000X3D
  • Newbie
  • ****
  • Posts: 14
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #7 on: January 14, 2013, 01:18:58 PM »
Great  work !

I would like to test that  :)

Offline couto

  • B8a Tester - 1000X3D
  • Hero Member
  • ****
  • Posts: 853
  • Helpful Contribution Status: +7/-2
Re: Yadis2mede8er
« Reply #8 on: January 14, 2013, 02:13:19 PM »
to test count  me in.
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 funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #9 on: January 14, 2013, 08:33:16 PM »
Here we are :

http://www.multiupload.nl/0SYQ5OTUTP

There is a setting for the program, Yadis Workspace folder :
default value is : C:\Program Files\yaDIS\workspace

Of course if for you this isn't the case, please change it in file yaDIS2mede8er.exe.config
in yadisWorkspacePath
            <setting name="yadisWorkspacePath" serializeAs="String">
                <value>C:\Program Files\yaDIS\workspace</value>
            </setting>

You can check those 2 features :

- mede8erize :
scan all movies in Yadis ans create an xml file formated for mede8er.
known bug : if a movie exists in Yadis but that is still not treated, yadis2mede8er will crash.

- folderize :
scan all folder declared in Yadis. It looks for movie files mkv or avi.
When found, it creates a new folder with the movie name, and then moves the movie file inside.

Additional tips : I declared my shared folders as mapped drives, I didn't test with network path.

Have fun.
FKY

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #10 on: January 14, 2013, 09:04:49 PM »
funkycochise

That was real quick and we thank you for this. Will start to test in the morning

Mede8er1

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

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #11 on: January 15, 2013, 05:35:59 AM »
funkycochise

Tested and the 'Mede8erize' is creating a 'movie.name.xml' in the Workspace folder but this is not copied to the movie folder. Tests done on local drives and not Network Shares.

 'Folderize' ?? What does this do  
Quote
- folderize :
scan all folder declared in Yadis. It looks for movie files mkv or avi.
When found, it creates a new folder with the movie name, and then moves the movie file inside.

Mede8er1

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

Offline funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #12 on: January 15, 2013, 07:48:46 AM »
funkycochise

Tested and the 'Mede8erize' is creating a 'movie.name.xml' in the Workspace folder but this is not copied to the movie folder. Tests done on local drives and not Network Shares.

 'Folderize' ?? What does this do  
Mede8er1
Hi thanks for the test.
It's weird that's not copied.

mede8erize :
1. I look for folders inside workspace\data\
2. I have then an array of folders.
3. For each folder, I get the data.xml
4. Based on that file, I build the movie.xml based on the name of the movie folder.
5. Inside data.xml, I also get the information where the target folder and file are located.
6.  I copy the movie.xml to the target dir.

Folderize :
1. Get Informations from folder.xml inside  workspace\
2. So I have an array of path that are set in yadis
3. I look inside a path, searching for movie files (avi and mkv)
4. There I have an Array of files
5. For each file, I create a folder based on the name of the file.
6. I move the movie file into that folder.

Is it more clear ?

Could you post a screenshot of your log screen or explain a bit more your installation

maybe I could create a logfile for the beta test.

Note : folderize, as tested by myself may take time to be completely achieved,
especiallay using remote shared folder. During my test I often thought tha file would
appear in the folder but finally It does it well.
« Last Edit: January 15, 2013, 08:24:16 AM by funkycochise »

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 772
  • Helpful Contribution Status: +118/-30
Re: Yadis2mede8er
« Reply #13 on: January 15, 2013, 10:42:27 AM »
funkycochise

We tested this again with the same results. Waited a long time and still the xml files were not written to the Movie Folders

Pls check attached screen capture

Mede8er1

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

Offline funkycochise

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 223
  • Helpful Contribution Status: +0/-0
Re: Yadis2mede8er
« Reply #14 on: January 15, 2013, 10:57:05 AM »
So your workspace is E:\YADIS_TEST
here you have the data folder with all your directories.

What is the final location of the movie ?

PS : maybe tou could zip me your YADIS_TEST Folder, so I could try to find out what is wrong.

by the way, what is your OS ?

As you experience a long wait between each movie I suppose, I'm pretty sure that it's a matter of
move function trouble.

normally, you have should have these messages :
Processing 'MyMovie'
Drive:\moviefolder\MyMovie.xml successfully created.


Maybe I should add a target folder availability check before running.
« Last Edit: January 15, 2013, 11:11:58 AM by funkycochise »