Kodi Community Forum
Movie Info Plus - Manage Icons, Posters, FanArt, .NFO's & more for Movies & TV Shows - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Movie Info Plus - Manage Icons, Posters, FanArt, .NFO's & more for Movies & TV Shows (/showthread.php?tid=41129)



- th0r - 2009-01-21

Tinkering around with the latest test build. Partial success so far. It's loading some of the tv shows (No problems with the movie scans).

It appears to load TV show episodes without problems if the episode number is >= 10. Will generate a debug log later and let you know.

fekker, Thanks a lot for the quick fixes.


Rev 2419 Msgboxes - JiveTalker - 2009-01-21

fekker Wrote:I've uploaded a test build of MIP, rev 2419
You must uninstall the old version of MIP first,the installer does not remove the cached data (all the stuff it's already downloaded)

Please report any bugs or issues

When I click on "Load TV Shows" the following msgbox appear although everything seems to be working okay:

---------------------------
movieinfoplus
---------------------------
00:00:53.3995935
---------------------------
OK
---------------------------

---------------------------
movieinfoplus
---------------------------
00:00:27.0547374
---------------------------
OK
---------------------------


Update TV Shows button displays this msgbox:
---------------------------
movieinfoplus
---------------------------
00:00:01.6482784
---------------------------
OK
---------------------------


Are these just test mode messageboxes that you forgot to switch off?


- fekker - 2009-01-21

JiveTalker Wrote:I get an error each time I click on the "Save Movie Changes" button similar to the following:

Could not find a part of the path 'X:\New Movies\Batman\'.

JiveTalker
ps. Thanks for the explanation of the HD tags in your earlier post, yes it is making sense now! :-)

I'll check that one out, I might have missed a path var.

Quote:---------------------------
movieinfoplus
---------------------------
00:00:53.3995935
---------------------------
OK
---------------------------
Yup, those are debug items I missed Big Grin .. it's a timer from the start point, to the initial tv show setup (after tvshow.nfo's are all created), and then to file processing.. I was trying to speed up the TV Show loading times, they seem to be about the same.

Quote:Tinkering around with the latest test build. Partial success so far. It's loading some of the tv shows (No problems with the movie scans).

It appears to load TV show episodes without problems if the episode number is >= 10. Will generate a debug log later and let you know.

fekker, Thanks a lot for the quick fixes.
hmm.. I'll bet i missed the check to put in the leading 0 if it was a single digit episode.. if so, i'll bet they work if they are numbered e0x

Your welcome, it's getting there, and the wiki is coming along nicely too.. I've updated the ubuntu install as I was testing it with the latest version of wine under 8.04 (wine 1.1.13).. everything works much better if wine is not installed as root (woops).. There's still some issues with running under wine, one of them is the downloader i put in a few builds back, I'll be removing that as it has too many problems, wget was much faster and always got the files without thread locks.

The good part about this rev and wine is that it doesn't require a virtual desktop anymore, and i've isolated the file selection code so i'll be able to get that working.. currently posters are not shown for selection, fanart shows up properly, movies overall load fine, the down loader gets hung (and will be removed from mip), some settings don't get displayed (anything in a numeric up / down box), and if full screen at 1920x1280 it's darn near unusable (but looks killer), 1024x768 works best (well close to that size, MIP's default open size is usable). the full screen test was on a buddy's core 2 [email protected] with an 8800 gtx and 8gb of ram, it's totally a software issue and not the hardware speed as a 1.6 celeron displays it at the same speed.


- th0r - 2009-01-21

fekker Wrote:hmm.. I'll bet i missed the check to put in the leading 0 if it was a single digit episode.. if so, i'll bet they work if they are numbered e0x

It actually appears to be the other way round. If I name the episodes e1*, e2*, it identifies the episodes correctly & generates the nfo.

But this is a lot more better than being stuck w/o episode info :-)


- fekker - 2009-01-21

th0r Wrote:It actually appears to be the other way round. If I name the episodes e1*, e2*, it identifies the episodes correctly & generates the nfo.

But this is a lot more better than being stuck w/o episode info :-)

weird, I must have something backwards. There's a new version up there for wine, but it'll work under any os, it just has some checks removed to work better under wine.. please give that build a try as I included the episode fix it in ..


- th0r - 2009-01-21

fekker Wrote:weird, I must have something backwards. There's a new version up there for wine, but it'll work under any os, it just has some checks removed to work better under wine.. please give that build a try as I included the episode fix it in ..

Checking sf.net now. Do I need to uninstall the older version ?


- fekker - 2009-01-21

th0r Wrote:Checking sf.net now. Do I need to uninstall the older version ?

yes, please uninstall first, it'll leave the cached data


- th0r - 2009-01-21

Sweeeet ! Everything appears to be working..(including movie scans, tv show scans with the custom regex bit)

The custom regex works like a charm. MIP picked up all the episodes Nerd

The list of missing episodes in a TV show is a nice touch.


- digitalhigh - 2009-01-21

th0r Wrote:Sweeeet ! Everything appears to be working..(including movie scans, tv show scans with the custom regex bit)

The custom regex works like a charm. MIP picked up all the episodes Nerd

The list of missing episodes in a TV show is a nice touch.


Okay. I'm at my main computer today, so I'm gonna really be putting the new build through it's paces. I have 388 movies (currently). XBMC only finds 360 something when it scans them. I'm determined that today is going to be the day where I get a perfect 1-1 scan from XBMC.

I had a few suggestions for you to think about before I immerse myself in playing for the rest of the day.

Name filter...can you SUBS, CD1, and CD2 to the list of stuff the program ignores? Right now, MIP detects these and creates custom .nfo's. It *was* pulling up VIDEO_TS in earlier builds...looks like that's filtered now. It would also be neat to maybe have a checkbox for "Ignore (Cam)"...but I'm not so lazy that I couldn't also just add it to my settings by hand. Just a thought. Oh, and I do have "filter (*)" Checked. It still misses (Cam)/(cam)/(ts).

VideoDB import/export - Maybe somewhere down the road, figure out a way for MIP to be able to export everything to a videodb.xml file, which you could then directly import to XBMC. It appears that it just dumps all of the .nfo files into one big xml and throws it inside a <videodb></videodb> tag.

I know that one's a lot of work...but it would definitely be a cool feature somewhere in the future...

Okay. I'm off to play, document, test, document, and play some more.


Edit: Subtitles. It should auto-rename idx/sub sets or .srt files to match the new movie filename, right?

And what about multipart file renaming? Example:

dmd-themist CD1.avi
dmd-themist CD2.avi

Stays the same after a scan?


- fekker - 2009-01-21

digitalhigh Wrote:Okay. I'm at my main computer today, so I'm gonna really be putting the new build through it's paces. I have 388 movies (currently). XBMC only finds 360 something when it scans them. I'm determined that today is going to be the day where I get a perfect 1-1 scan from XBMC.

I had a few suggestions for you to think about before I immerse myself in playing for the rest of the day.

Name filter...can you SUBS, CD1, and CD2 to the list of stuff the program ignores? Right now, MIP detects these and creates custom .nfo's. It *was* pulling up VIDEO_TS in earlier builds...looks like that's filtered now. It would also be neat to maybe have a checkbox for "Ignore (Cam)"...but I'm not so lazy that I couldn't also just add it to my settings by hand. Just a thought. Oh, and I do have "filter (*)" Checked. It still misses (Cam)/(cam)/(ts).

VideoDB import/export - Maybe somewhere down the road, figure out a way for MIP to be able to export everything to a videodb.xml file, which you could then directly import to XBMC. It appears that it just dumps all of the .nfo files into one big xml and throws it inside a <videodb></videodb> tag.

I know that one's a lot of work...but it would definitely be a cool feature somewhere in the future...

Okay. I'm off to play, document, test, document, and play some more.


Edit: Subtitles. It should auto-rename idx/sub sets or .srt files to match the new movie filename, right?

And what about multipart file renaming? Example:

dmd-themist CD1.avi
dmd-themist CD2.avi

Stays the same after a scan?

Name filter ignores part of the folder name, Complete folder ignore is hard coded... add " (noscan)" to the foldername to ignore an entire folder.

additional files are not renamed, stacked shows must be manually fixed up

VideoDB import/export - it's not that its hard to do, it's adding the paths that get tricky... I store the data in an array when it's loaded, it could generate a very large collections xml in a matter of seconds, with 1 added class to MIP that consists of 1 property.
If xbmc is running on the local machine, there is no problem with it. If the data is on a server, or there is multiple front ends, the path in the xml would need to be updated.

The library scan is very fast on today's hardware, and takes some time with xbmc, I don't know if the export would be useful.


- parena - 2009-01-21

Just to let you know: The latest build (2419) doesn't do too bad under wine 1.0.9 on openSUSE, using winetricks for gdiplus and dotnet2. Smile

Movies seem to work straight away. I can add the path, it scans, it downloads. All good. Smile

Adding a tv show path makes it lockup and crash, so I added it manually. Completely locks again when trying to download stuff, though.

Of course, a native build is much preferred, but if it's also reliable under wine I won't have to start up VirtualBox anymore. I could use wine until the native version is there. Wink

Actually, I had been thinking about creating a Qt version. That'd be cross platform as well, though I'd really need to start learning Qt. Haven't done much more than a little bit of pyQt, really. So I'll hold off. Smile

Correction, I just saw windows popup, downloading stuff! I just takes ages and makes it pretty useless under wine. But it CAN run better right now without any of the manually editing wine files. Previous builds simply crashed at start up.


- fekker - 2009-01-21

parena Wrote:Just to let you know: The latest build (2419) doesn't do too bad under wine 1.0.9 on openSUSE, using winetricks for gdiplus and dotnet2. Smile

Movies seem to work straight away. I can add the path, it scans, it downloads. All good. Smile

Adding a tv show path makes it lockup and crash, so I added it manually. Completely locks again when trying to download stuff, though.

Of course, a native build is much preferred, but if it's also reliable under wine I won't have to start up VirtualBox anymore. I could use wine until the native version is there. Wink

Actually, I had been thinking about creating a Qt version. That'd be cross platform as well, though I'd really need to start learning Qt. Haven't done much more than a little bit of pyQt, really. So I'll hold off. Smile

Correction, I just saw windows popup, downloading stuff! I just takes ages and makes it pretty useless under wine. But it CAN run better right now without any of the manually editing wine files. Previous builds simply crashed at start up.
I am trying to get the posters working again, no idea why those will not load, even with the same code as fanart images, they do not load under wine.. and they used to..

I think tvdb is being super slow today, seems that all downloads are crawling along from them.

The new rev i'm working on will disable items that don't show up or crash under wine based on a config setting, and will fix the issue with tv shows not loading by adding them manually. I'll be happy when i can get those items sorted, and posters working again.

Also, the wine version will be wget only for downloads, and all of MIP is heading back that route as the new downloader just has too many things that get buggered up. I'll make a different downloader later or may handoff downloads to another app, there's a few I've got my eye on.


A way to delete extra files - jetskijoe - 2009-01-21

I was wandering if an option could be added to delete extra files. Or a popup box that you check what you want deleted if it doesn't match the: movie, tbn file, nfo file or Fanarts.

Thanks
Joe


- fekker - 2009-01-21

jetskijoe Wrote:I was wandering if an option could be added to delete extra files. Or a popup box that you check what you want deleted if it doesn't match the: movie, tbn file, nfo file or Fanarts.

Thanks
Joe

It generally keeps all of the files as part of the cache system, that way if you add that movie later it already has the data (or if the source of the data is no longer available).

Let me give that some thought before making any changes, please put in a feature request on sourceforge (no login is needed) so that I dont' forget to look into it further. (i get sidetracked easy)


- digitalhigh - 2009-01-22

fekker Wrote:It generally keeps all of the files as part of the cache system, that way if you add that movie later it already has the data (or if the source of the data is no longer available).

Let me give that some thought before making any changes, please put in a feature request on sourceforge (no login is needed) so that I dont' forget to look into it further. (i get sidetracked easy)

Don't forget to tell it to leave subtitle files alone. Lots of people would be very upset if it accidentally deleted all their subs. Wink