MOVIE INFO (IMDB Support) Updated 14th December

Discuss third party additions, plugins and translations for PS3 Media Server

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby ottoman1384 » Thu Feb 04, 2010 9:01 pm

Bump
ottoman1384
 
Posts: 42
Joined: Wed Dec 16, 2009 2:47 am

Mymovies.xml / YAMMM support

Postby favelfix » Fri Feb 05, 2010 10:56 am

Hi,

I took a look at YAMMM and it seemed useful so I added YAMMM / mymovies.xml support to the movie info plugin.
It is not thoroughly tested yet but should work quite well.

Still TODO:
- sort info folder
- add support for DVD images
- more testing

The code is entirely based on jaqb's code. Thanks for that!

The plugin needs (as it name suggests) a PMS version that supports plugins.
To install unzip
Movieinfo.zip
to the plugin folder of PMS. Replace any existing files.
The config file now has one more property:
Code: Select all
#### Which plugin to use to read the movie info from a file
#only ONE of the following: MYMOVIES_XML,MOVIE_NFO
# or no entry if you do not which to use any
FileInfoPlugin=MYMOVIES_XML

You can choose between mymovies.xml and movie.nfo fiel support. Only ONE is allowed. If you want to use this on linux make sure that the files are all lowercase.

Here's the source code:
Movieinfo_src.rar
.

Cheers,
Philipp

edit: added source code
favelfix
 
Posts: 10
Joined: Fri Jan 29, 2010 5:06 pm

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby BantryRed » Wed Feb 10, 2010 12:54 am

Perfect thanks, all I need to do now is wait for v2 of YAMM to come out, unfortunately I've all my films grouped into dedicated files, which YAMM cant process. I've done a few tests and all good, Ideally I would love to go straight to "MOVIE_NFO" from "Movie info" folder, BUT, we cant all-ways get what we want. Thank you, I think I need to learn Java :?
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby favelfix » Wed Feb 10, 2010 9:39 am

Hi BantryRed,

BantryRed wrote: Ideally I would love to go straight to "MOVIE_NFO" from "Movie info" folder, BUT, we cant all-ways get what we want.


Actually, I was thinking about that myself. So, consider it done :-)
Next version will hopefully be ready by end of next week.

Thank you, I think I need to learn Java :?

That you should do. It's not that hard...

Cheers,
Philipp
favelfix
 
Posts: 10
Joined: Fri Jan 29, 2010 5:06 pm

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby BantryRed » Wed Feb 10, 2010 10:08 am

Thanks Philipp

John
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby BantryRed » Sat Feb 13, 2010 12:25 am

Philipp
Something Ive only noticed tonight, because of the way YAMM works, Ive only one Master folder called "A" with some of my Movies beginning with "A", in separate sub folders e.g.(This was for testing YAMM)

A
(sub folder) "A Good Year"
(sub folder) "A Scanner Darkly"
(sub folder) "Abominable"
etc.

When viewing movie info on ps3 through this folder everything works fine.... BUT
The rest of my Library (1TB) Ive arranged as Main Folder e.g. "B" and all my "B" movies are in this e.g.

B
"Baby Mama"
"Bandidas"
"Bangkok"
etc.

When I view movie info in this format "MOVIE_INFO INFO" allways shows up as second folder in the virtual folder. Now I know that I don't have everything nice and tidy, as I am waiting for v2 of YAMM to be released, and I'm hoping that the new version will allow me to get the metadata without having to put each movie into its own folder, just thought I'd let you know, might be completely my own fault.

P.S. Can you point me in a general direction for a good start for Java??
Thanks
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby favelfix » Sat Feb 13, 2010 8:38 pm

Hi,

here's the new version of the movie info plugin:
Movieinfo.rar
The plugin
(69.46 KiB) Downloaded 609 times

If the file info plugin is configured and the web info plugins are commented out the movie info is displayed directly after entering the MOVIE INFO folder.

Unfortunately my file system encoding prevented me from saving files with special non-western characters. So I had to delete these characters which may leed to misfunctions in plugins that read the info from websites with non-western chars.

Still TODO:
- make the plugin dialog display the current configuration
- make the plugin configurable by the dialog

And the
MovieInfo_src.rar
(143.84 KiB) Downloaded 165 times
source code.

Cheers,
Philipp
favelfix
 
Posts: 10
Joined: Fri Jan 29, 2010 5:06 pm

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby favelfix » Sat Feb 13, 2010 9:06 pm

Hi John

BantryRed wrote:[...]
When viewing movie info on ps3 through this folder everything works fine.... BUT
The rest of my Library (1TB) Ive arranged as Main Folder e.g. "B" and all my "B" movies are in this e.g.
B
"Baby Mama"
"Bandidas"
"Bangkok"
etc.

When I view movie info in this format "MOVIE_INFO INFO" allways shows up as second folder in the virtual folder. Now I know that I don't have everything nice and tidy, as I am waiting for v2 of YAMM to be released, and I'm hoping that the new version will allow me to get the metadata without having to put each movie into its own folder, just thought I'd let you know, might be completely my own fault.

First: With all movies in one folder the file info plugin won't work, as it can only read files with fixed file name. So it depends entrirely on the fact that every movie has it's own folder. But that should not be a problem as YAMMM can create these folders for you.
Second: that the MOVIE_INFO INFO folder always shows up as second folder. Yeah, I know. Haven't found a way to change this yet, but haven't tried very hard either ;) Maybe I have a look at that one.

P.S. Can you point me in a general direction for a good start for Java??
Thanks

Well, that's a good question. I haven't bought a book on this topic for quite some while. Basically it depends on wether you are all new to programming or if you can code already but just don't know Java.
In the first case buy a book that includes basic programming techniques or make a training. I like the books from Addison-Wesley (Pearson in the US). Some you could have a look at:
http://www.addison-wesley.de/main/main. ... tID=120635
http://www.addison-wesley.de/main/main. ... ctID=88641
http://www.pearsonhighered.com/educator ... 30806.page

If you are already a programmer any book on Java will probably do.

Cheers,
Philipp
favelfix
 
Posts: 10
Joined: Fri Jan 29, 2010 5:06 pm

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby BantryRed » Sat Feb 13, 2010 9:11 pm

Thanks Philipp, Looks like I'm going to have to change my file structure. :( . Complete newbie to computer language, but as I am now a stay at home Dad looks like I might have a lot of time to start learning. Thanks :ugeek: (NOT)
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: MOVIE INFO (IMDB Support) Updated 14th December

Postby BantryRed » Sat Feb 13, 2010 9:39 pm

Just checked my YAMM test folder "A", everything working ok :D , Looks like I've a long night ahead of me rearranging my folder structure :roll:
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 6 guests