XBMC Community Forum
[RELEASE] Missing Movie Plugin - Find Movies and TV Shows that are not in the library - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Missing Movie Plugin - Find Movies and TV Shows that are not in the library (/showthread.php?tid=90258)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


- Hiram - 2011-02-03 09:49

That is awesome! I never knew XBMC had functionality like that! I'll definitely look into supporting this Smile

If anyone else supports local trailers the way steppedup does, but with a different filename, let me know!


- Hiram - 2011-02-04 03:16

Hi guys, there's a new version out. In my testing, it addresses Yulquen's issue with the KeyError, and Dobyken's issues regarding sets and multi-file movies, so hopefully it works for you guys!

@Tomkun, in the interests of tracing your problem, could you run this version for me, and show me the output from the log? Depending on how many movies you have, this could be a large log.


- Yulquen - 2011-02-04 20:02

testing the latest version, I'm able to list missing movies without any error
messages, but the problem is it does not list anything, when it should list at
least 20.I have about 315-320 movies on my source disk, and 294 are currently in the library.

scanning missing tv shows it still displays an error message (script failure).

log:

http://rapidshare.com/files/446190302/log.txt

update:

looking at the log,
all mkv and all avi movies present on my movie disk is listed there, but none of my iso files.
does that make any sense?

I know for sure that all the titles missing from my library are dvd iso files.


- Tomkun - 2011-02-05 04:14

Using the latest version, 2.0.10, the TV part of the script is working perfectly.

The movies are showing up missing if:

1) It's a trailer (movie-trailer.mp4)

2) It's split into two or more files (movie-cd1.avi, movie-cd2.avi)

3) It has an exclamation mark at the end of the filename (movie!.avi)

These are the only types of file that show up, so I don't think it's necessary to post the log, it's just 300 + entries of the above.


- overide - 2011-02-05 20:08

Tomkun Wrote:Using the latest version, 2.0.10, the TV part of the script is working perfectly.

The movies are showing up missing if:

1) It's a trailer (movie-trailer.mp4)

2) It's split into two or more files (movie-cd1.avi, movie-cd2.avi)

3) It has an exclamation mark at the end of the filename (movie!.avi)

These are the only types of file that show up, so I don't think it's necessary to post the log, it's just 300 + entries of the above.

This is happening to me as well. Great addon though, thanks.


- Finchy - 2011-02-05 21:36

Does this not work on files that are on a NAS drive via Windows shares?


- Hiram - 2011-02-06 15:28

Alright guys, new version is out. All my testing shows that it ignores trailers, and supports multi-file movies as well. Exclamation marks in movies should also not causing problems for me either. The ISO file problem has also been rectified.

@Finchy, if the shares are via Windows, they will most probably be Samba shares, which are unsupported. Sorry!

@Yulquen, the problem regarding TV shows you're having is very unique. I've added some more debugging into the script, so if you could try it again with the new version and post the log if it doesn't work, I should be able to finally figure out the problem.


- Yulquen - 2011-02-06 17:27

hi,

now both missing movies and TV shows works!

I realized I had deleted the TV show source the last time, hence the
script failure (only running experimental setup on work pc).

I have checked the missing files list against actual missing files, and
so far, it checks out correct.Good work!!

Finchy: you can use samba shares if you map them up as a drive letter in windows, thats what I do.My media files are on an Unraid box, which is linux,
and is accessed through samba.

heres the log anyway:

Code:
16:22:15 T:5228 M:638099456  NOTICE: -->Python Interpreter Initialized<--
16:22:16 T:5228 M:629485568  NOTICE: FOUND SHARE: Y:\Movies\
16:22:16 T:5228 M:629485568  NOTICE: FOUND SHARE: Y:\TV\Sci-Fi\Star Trek\
16:22:17 T:5228 M:626749440  NOTICE: Y:\Movies\ contains missing movies!
16:22:17 T:1000 M:626696192 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
16:22:39 T:1552 M:624713728  NOTICE: -->Python Interpreter Initialized<--
16:22:39 T:1000 M:622571520 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
16:22:41 T:5984 M:629858304  NOTICE: -->Python Interpreter Initialized<--
16:22:42 T:5984 M:629415936  NOTICE: VideoLibrary.GetTVShows results: {'jsonrpc': '2.0', 'id': 1, 'result': {'start': 0, 'total': 3, 'end': 3, 'tvshows': [{'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/9f684937.tbn', 'tvshowid': 3, 'thumbnail': 'special://masterprofile/Thumbnails/Video/9/9f684937.tbn', 'label': 'Degrassi: The Next Generation'}, {'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/08d02acf.tbn', 'tvshowid': 1, 'thumbnail': 'special://masterprofile/Thumbnails/Video/0/08d02acf.tbn', 'label': 'Star Trek: Enterprise'}, {'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/0c13666d.tbn', 'tvshowid': 2, 'thumbnail': 'special://masterprofile/Thumbnails/Video/0/0c13666d.tbn', 'label': 'Star Trek: The Next Generation'}]}}
16:22:42 T:5984 M:629399552  NOTICE: FOUND SHARE: Y:\Movies\
16:22:42 T:5984 M:629399552  NOTICE: FOUND SHARE: Y:\TV\Sci-Fi\Star Trek\
16:22:42 T:5984 M:629399552  NOTICE: VideoLibrary.GetTVShows results: {'jsonrpc': '2.0', 'id': 1, 'result': {'start': 0, 'total': 3, 'end': 3, 'tvshows': [{'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/9f684937.tbn', 'tvshowid': 3, 'thumbnail': 'special://masterprofile/Thumbnails/Video/9/9f684937.tbn', 'label': 'Degrassi: The Next Generation'}, {'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/08d02acf.tbn', 'tvshowid': 1, 'thumbnail': 'special://masterprofile/Thumbnails/Video/0/08d02acf.tbn', 'label': 'Star Trek: Enterprise'}, {'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/0c13666d.tbn', 'tvshowid': 2, 'thumbnail': 'special://masterprofile/Thumbnails/Video/0/0c13666d.tbn', 'label': 'Star Trek: The Next Generation'}]}}
16:22:47 T:5984 M:628768768  NOTICE: Y:\TV\Sci-Fi\Star Trek\ contains missing TV shows!
16:22:47 T:1000 M:628686848 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6



- wilson.joe - 2011-02-06 17:51

Does this work with Dharma? I can't find it in my plugins within XBMC? TIA

EDIT: The download uses plugins.video instead of plugin.video.


- overide - 2011-02-06 20:38

Hiram Wrote:Alright guys, new version is out. All my testing shows that it ignores trailers, and supports multi-file movies as well. Exclamation marks in movies should also not causing problems for me either. The ISO file problem has also been rectified.

@Finchy, if the shares are via Windows, they will most probably be Samba shares, which are unsupported. Sorry!

@Yulquen, the problem regarding TV shows you're having is very unique. I've added some more debugging into the script, so if you could try it again with the new version and post the log if it doesn't work, I should be able to finally figure out the problem.

Thanks for the quick update, I can confirm that multipart movies now work fine.

I'm seeing one more issue now though. Anything with a comma "," in doesn't work.

e.g

Crouching Tiger, Hidden Dragon
Lock, Stock and Two Smoking Barrels

Hopefully and easy fix.

Thanks.