Page 1 of 1

Lookup Movie Genre/Rating -> Export CSV

Posted: 19 Jun 2014, 20:00
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

Re: Lookup Movie Genre/Rating -> Export CSV

Posted: 19 Jun 2014, 20:27
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).

Re: Lookup Movie Genre/Rating -> Export CSV

Posted: 19 Jun 2014, 21:21
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.

Re: Lookup Movie Genre/Rating -> Export CSV

Posted: 20 Jun 2014, 04:41
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. ;)