XBMC Community Forum
[MAC] ViMediaManager - Media Manager for Mac OS X! - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: [MAC] ViMediaManager - Media Manager for Mac OS X! (/showthread.php?tid=109976)



- SpoBo - 2011-09-20 17:49

MariusTh86 Wrote:I'm not entirely certain what you mean by changing a movie into a different movie, but when scraping a movie, if it finds existing images, it won't overwrite them with new ones in case you want to keep them.
For example a movie was automatically scraped as "Drive Angry" and it downloaded the images for it. But this was wrong ... it wasn't driving angry. So do a manual lookup and select "Driven". So now it has the info for Driven but still the old images it downloaded for Drive Angry.

So what I suggest is to overwrite the images in the following way:
Check if metadata exists for the movie I'm about to override.
Read IMDB & movieDBID.
Check if selected IMDB/movieDBID match from the movie that was selected through manual lookup.
If they match -> leave images intact.
If they don't -> a new movie was selected so we can overwrite the images.


But there is a bigger issue with posters & fanart (fanart saved as poster). Check my last post, edit 3. Sorry about all the chatter lol Tongue


- MariusTh86 - 2011-09-20 17:49

DrPepper Wrote:where do i need to look for that xml file ?

It's in the same folder as the movie. there's not 'set.xml' file, just your general movie xml file with SET information.


- MariusTh86 - 2011-09-20 17:52

SpoBo Wrote:Just tested it. Works like a charm Big Grin

edit: Just noticed that when I change a movie to a different movie the poster & fanart aren't changed.

Is this deliberate to prevent the tool from overwriting manually added posters & fanarts? Perhaps it's useful to automatically overwrite the images if the IMDB and TMDB ID's for the movie change. But this is no big deal because swapping posters & fanart takes only a couple of seconds now Tongue

edit2: Ok rather serious bug. Poster AND fanart are now downloaded to the exact same filename after upgrading. So there is only 1 imagefile in my directory called "moviename-poster.jpg". There should be a "moviename-fanart.jpg" as well I think Tongue So I went into preferences and changed the values around a bit to just use "poster.jpg" and "fanart.jpg". <- IGNORE, check edit 3.

edit3: Other bug then I thought. The fanart is *always* routed to the poster image. Settings now: poster.jpg & fanart.jpg. After that I restarted the app. I download the fanart and it writes the poster.jpg. So this isn't right Smile

so in short, there's no poster image, just a fanart image that is called 'poster.jpg'? does this only happen when scraping for a new movie? or when just downloading art through the metadata window or the tool button on the main window?


- DrPepper - 2011-09-20 18:00

I have 2 in there .

here's the first one : http://pastebin.com/eJy20GYX

and the second one : http://pastebin.com/ZWNCrD4n

hope this helps


- MariusTh86 - 2011-09-20 18:23

DrPepper Wrote:I have 2 in there .

here's the first one : http://pastebin.com/eJy20GYX

and the second one : http://pastebin.com/ZWNCrD4n

hope this helps

Are you sure that that's the entire file?
I'm not sure about the first line ("root@ubuntu:...") which shouldn't be in there, but the file also seems to cut off unexpectedly at "</streamdetails>" and "</fileinfo>" instead of "</streamdetails></fileinfo></movie>".
If they really are missing from the file, then that's why it's an invalid XML file. try writing the missing tags, and make sure the file begins with "<?xml" instead of "root@ubuntu".


- SpoBo - 2011-09-20 18:28

MariusTh86 Wrote:so in short, there's no poster image, just a fanart image that is called 'poster.jpg'? does this only happen when scraping for a new movie? or when just downloading art through the metadata window or the tool button on the main window?
There is a poster image if the last image I downloaded for that movie was the poster. But the fanart image is always saved as the poster image.

I tested it through the tool in the main window and though the edit metadata window.

if I do it through the manual search then it's done correctly.


- DrPepper - 2011-09-20 18:33

root@ubuntu is just the name of my server , i copied that with since i did a cat from the command line. so nothing to do with the file. but you are right it does end abnormally.

but as i said , there are 2 files inside the folder that are nfo's. question is if that's the error . have you tried making a set ? and do you get the same error ?

1 nfo i have is named the same as the movie , another nfo i have is named movie.nfo , don't know where it comes from...


- MariusTh86 - 2011-09-20 18:43

DrPepper Wrote:root@ubuntu is just the name of my server , i copied that with since i did a cat from the command line. so nothing to do with the file. but you are right it does end abnormally.

but as i said , there are 2 files inside the folder that are nfo's. question is if that's the error . have you tried making a set ? and do you get the same error ?

1 nfo i have is named the same as the movie , another nfo i have is named movie.nfo , don't know where it comes from...

Well, it doesn't need duplicates so I believe you can throw one away and still have it work correctly.
And there was indeed another bug in my code, which I then zapped with my bug zapping ray gun, so it shouldn't come back to bite you in the ass anymore in the next beta! Big Grin


- MariusTh86 - 2011-09-20 20:16

SpoBo Wrote:There is a poster image if the last image I downloaded for that movie was the poster. But the fanart image is always saved as the poster image.

I tested it through the tool in the main window and though the edit metadata window.

if I do it through the manual search then it's done correctly.

Thanks, that narrowed it down, I indeed had it set to use the poster name instead of the fanart name per accident, that's what happens when you copy similar lines of code but forget to correct them afterwards Wink


- demosthien - 2011-09-21 00:55

MariusTh86 Wrote:Does your app show studio logo's?
Yes it does, but you'll have to download them separately from this thread: (or similar threads)
http://forum.xbmc.org/showthread.php?tid=100652
http://forum.xbmc.org/showthread.php?tid=99554
Once you've downloaded the logo's pack, put the pictures inside a folder named "Studios" in the same location as ViMediaManager or in the following path: ‘~/Library/Application Support/ViMediaManager/Studios/‘.

Can't seem to find this path/folder at all: ‘~/Library/Application Support/ViMediaManager

Will try out putting the logos into a folder the same location as the app.