Lookup Movie Genre/Rating -> Export CSV

Any questions? Need some help?
Post Reply
tekwarp
Posts: 4
Joined: 12 Jun 2014, 02:07

Lookup Movie Genre/Rating -> Export CSV

Post by tekwarp »

Hi,

Newbie into groove and trying to write first script. My movies are stored in the following format:

Movies
-> Avatar (2009)
-> Avatar (2009).mkv (avi or mp4)
-> Avatar (2009).xml (contains GENRES and RATING tags)

I am trying to write a script that will traverse all my movies, extract genre and rating from xml file and then output a CSV file with MOVIE_NAME, GENRES, RATING.

Can anyone help?

Thanks
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Lookup Movie Genre/Rating -> Export CSV

Post by rednoah »

You can use the mi (media index) script as a template. Just need to add some XML processing (which is easy with Groovy).
:idea: Please read the FAQ and How to Request Help.
tekwarp
Posts: 4
Joined: 12 Jun 2014, 02:07

Re: Lookup Movie Genre/Rating -> Export CSV

Post by tekwarp »

Would you be able to do this for a Donation? I don't have much time to look up at all the syntax.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Lookup Movie Genre/Rating -> Export CSV

Post by rednoah »

Sure, this should be easy. My minimum is 50 EUR though. ;)

Also I'll need a zip with some sample data of at least one movie folder (0 byte movie file is fine) and movie xml. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply