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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/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


- null_pointer - 2011-10-14

I have built a new version with a few changes that is based on Hiram very good work.

- select which source path to run the missing search on
- should now work with on Windows with network shares like smb://machine/dir

Download here:
http://code.google.com/p/xbmc-missing-movie-search/downloads/list


- k_zeon - 2011-10-14

null_pointer Wrote:I have built a new version with a few changes that is based on Hiram very good work.

- select which source path to run the missing search on
- should now work with on Windows with network shares like smb://machine/dir

Download here:
http://code.google.com/p/xbmc-missing-movie-search/downloads/list

Just tried new version on Apple TV2 XBMC Eden Pre and when i select Search Path it errors out.
Do i have to add any path values to your addin. if so i cannot find where


- null_pointer - 2011-10-14

No it does not need any config.

can you post the log file to http://pastebin.com and I can take a look.


- igitur - 2011-10-14

null_pointer Wrote:Download here:
http://code.google.com/p/xbmc-missing-movie-search/downloads/list

Huh? Did you fork the project? Why didn't you just submit your patch to https://github.com/nathan-hoad/missing-movie-viewer ?


- null_pointer - 2011-10-14

The functionality is quite a bit different, it has a lot of the original code to do some of the base actions like path compare and move list building but I changed the way you select source paths to scan and removed the TV Show scan all together as I don't really use or have a TV show setup I can run it against.

So yes I forked it.


- k_zeon - 2011-10-14

null_pointer Wrote:No it does not need any config.

can you post the log file to http://pastebin.com and I can take a look.

i started to post this morning but was getting late for work. will post when i get home.
I did notice on the log that errors were on getting the Directory and maybe extra modules were missing.

anyway be home approx 18.00


- k_zeon - 2011-10-14

null_pointer Wrote:No it does not need any config.

can you post the log file to http://pastebin.com and I can take a look.

http://pastebin.com/mTKVDhsR

could be some modules you use are missing from my folders


- null_pointer - 2011-10-15

Code:
07:53:30 T:92721152 M: 99241984   ERROR: GetDirectory - Error getting plugin://plugin.video.missingmoviescanner/?mode=20
07:53:30 T:92721152 M: 99241984   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.missingmoviescanner/?mode=20) failed

sry not sure, looks like an internal failure, something the plugin is failing at but not in the plugin code I think, it is probably using or returning data the core does not like.

I am not that familiar with the plugin environment or to tbh python but I will try to reproduce the error and see what I can find out.

there is a new version available that allows you to set the log level via the plugin settings, set it to level 5, close XBMC open it again and try again, it will still fail but more info will be in the log. Post the log again and we will see what it shows.

http://code.google.com/p/xbmc-missing-movie-search/downloads/list


- k_zeon - 2011-10-15

when i now click show sources, they show up. last time it just created an error.
So now i clicked a path and then another error shows up

http://pastebin.com/fvhM4qkj

i installed 2.2.1 and changed debug to 5
will there be a seperate log.??

the pastebin if from my main log file


- null_pointer - 2011-10-15

Looks like this is the line that is having issues on your system

Code:
jsonResult = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"fields": ["file", "label", "trailer"]}, "id": 1}')

the error

Code:
09:11:10 T:123117568 M:100724736 WARNING: JSONRPC: Value does not match any of the enum values in type
09:11:10 T:123117568 M:100724736 WARNING: JSONRPC: Array element at index 1 does not match in type fields
09:11:10 T:123117568 M:100724736  NOTICE: Missing Movie Scanner: VideoLibrary.GetMovies results: {"error":{"code":-32602,"data":{"method":"VideoLibrary.GetMovies","stack":{"message":"array element at index 1 does not match","name":"fields","property":{"message":"Received value does not match any of the defined enum values","type":"string"},"type":"array"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}

So I guess I am passing in the wrong fields. I will need to read up on the VideoLibrary.GetMovies a bit more.


- k_zeon - 2011-10-15

here is something i just found. as you will see the 1st part of the tuple does not have inverted comma's. would it be that
Code:
var obj = {
        jsonrpc: "2.0",
        method: "VideoLibrary.GetMovies",
        params: {
                fields: [
                "genre",
                "director",
                "trailer",
                "tagline",
                "plot",
                "plotoutline",
                "title",
                "originaltitle",
                "lastplayed",
                "season",
                "runtime",
                "year",
                "playcount",
                "rating",
                "file"
            ]
        },
        id: 1
    };



- null_pointer - 2011-10-15

I notice there was no "list" param in your version so I removed it from the GetMovies call.

Version 2.2.2 is up with this small change.

http://code.google.com/p/xbmc-missing-movie-search/downloads/list

What version of XBMC are you running?


- k_zeon - 2011-10-15

null_pointer Wrote:I notice there was no "list" param in your version so I removed it from the GetMovies call.

Version 2.2.2 is up with this small change.

http://code.google.com/p/xbmc-missing-movie-search/downloads/list

What version of XBMC are you running?

I believe im running Eden Pre 10.09


- k_zeon - 2011-10-15

Just tried new version and when i click a source the box comes up stating it is searching but nothing happens for approx 30 - 50 secs then it tells me no missing movies found. I dont even see a progress bar moving as if it is checking.

So at the moment it does not work..

Would really love to see it working

P.S
Deleted 1 movie from the Library to check if it got found. No it did not...
no errors at all this time , and just in case it means anything the folder is on a QNAP Nas unit


- k_zeon - 2011-10-15

checked my log and see

NOTICE: Missing Movie Scanner: posix
NOTICE: Missing Movie Scanner: WALKING PATH : smb://Q1/D1/M1/
NOTICE: Missing Movie Scanner: Adding Directory Item: No Missing Items totalItems:1
DEBUG: WaitOnScriptResult- plugin returned successfully

could it be this is the prob:-
WALKING PATH : smb://Q1/D1/M1/