Kodi Community Forum
Deprecated Missing Movie Scanner - 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: Deprecated Missing Movie Scanner (/showthread.php?tid=118263)

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


RE: Missing Movie Scanner - Martijn - 2013-08-04

any chance you want to get this added to xbmc repo?


RE: Missing Movie Scanner - Martijn - 2013-08-04

Possible bug. I scanned my movies and it said 50 items however when browsing the list it only showed me 30
also when it's finished scanning tvshows and all is there it says "no missing movies".


RE: Missing Movie Scanner - cortx - 2013-08-04

Someone know how to export the list into a log file to work later and more easily from my PC ?


RE: Missing Movie Scanner - Tilo - 2013-08-13

(2013-08-04, 14:22)cortx Wrote: Someone know how to export the list into a log file to work later and more easily from my PC ?

yes the version 3.2.0 has an option to output to file, check the Add-On settings


RE: Missing Movie Scanner - Hitmani - 2013-10-18

Does this work with the library in a SQL database? Or did i do something wrong because it seem to have spit out every single tv episode (also tried it for Movies and it did the same there).

EDIT: OH yea and almost all movies are rar archives if that makes a difference.


RE: Missing Movie Scanner - nickr - 2013-10-18

it works with mysql, not sure about rars, which I find repulsive Smile


RE: Missing Movie Scanner - julakali - 2013-11-10

Displays almost all movies for me, too. Using .rar's mostly as well...


RE: Missing Movie Scanner - julakali - 2013-11-18

So i found the reason for displaying all movies contained in rar files:
XBMC urlencodes the filename, if it's in a .rar, resulting in file names like:

Code:
rar://smb%3a%2f%2fserver%2fMovies%2fMyMovie.rar/MyMovie.mkv

While the library entry is not url encoded:

Code:
rar://smb/server/Movies/MyMovie.rar/MyMovie.mkv

So we have to unquote the file name in this case to get a match.
Could be the same case with tar or zip archives.
Add the following two lines to the default.py of MMS and it works:

Code:
*** default.py    2013-11-18 10:45:33.326918859 +0100
--- default_new.py    2013-11-18 10:46:04.944918436 +0100
***************
*** 196,201 ****
--- 196,203 ----
                  filesFound += 1
                  log("WALKER ADDING FILE : " + file["file"])
                  file_name = file["file"]
+                 if file_name.startswith('rar://'):
+                     file_name = urllib.unquote(file_name)
                  walked_files.append(file_name)
  
  def get_files(paths, progress):

I also created an issue: http://code.google.com/p/xbmc-missing-movie-search/issues/detail?id=5


RE: Missing Movie Scanner - null_pointer - 2013-11-20

Its been a long time since I posted or even looked at this thread, sorry I am a bad addon parent :-(

movies files inside Rars? has the world gone crazy? why would you do this?

Just to confirm, the addon does not support media inside rars.

Again, for what reason would you rar your movies?

@julakali
thanks, I will have a look at adding

+ if file_name.startswith('rar://'):
+ file_name = urllib.unquote(file_name)

and testing this. but really rarsHuh? wwwwhhhhyyyyy

I will also have a go at getting this in the official repo again. did my head in last time I looked at all the code, package regulations and release cadence rules.

@Martijn
After tv scan "no missing movies", yep that be a bug.
Did you work out the problem with 50 missing but 30 shown?


RE: Missing Movie Scanner - nickr - 2013-11-21

(2013-11-20, 23:26)null_pointer Wrote: and testing this. but really rarsHuh? wwwwhhhhyyyyy
I suspect because rars were torrented, and the poster wants to continue seeding. (I certainly can't think or any other reason.)


RE: Missing Movie Scanner - julakali - 2013-11-21

Well the reason is: because i can Wink
As correctly stated, scene releases are always packed to rar files.
And XBMC can scan and play them without unpacking (vlc does that too btw).
So why would i bother with unpacking them? Thats the real question Smile

I really love your plugin, thanks for your work!

(2013-11-21, 02:44)nickr Wrote:
(2013-11-20, 23:26)null_pointer Wrote: and testing this. but really rarsHuh? wwwwhhhhyyyyy
I suspect because rars were torrented, and the poster wants to continue seeding. (I certainly can't think or any other reason.)



RE: Missing Movie Scanner - nickr - 2013-11-21

Quote:So why would i bother with unpacking them? Thats the real question

Because you can? Because there is no need to complicate your filesystem with it?


RE: Missing Movie Scanner - julakali - 2013-11-21

Unpacking takes cpu time and effort.
Having each movie in a different directory, i personally don't see the difference regarding structure/organization.
If you're referring to Inode usage, with each .rar part beeing at least 100MB, it's not like i have many small files on the disk.
Inode usage is 1% compared with 13% on the system drive.

But anyhow, the discussion isn't necessary, as i'm certainly not the only one using rars. Just wanted to explain the WHY to null_pointer Wink


RE: Missing Movie Scanner - null_pointer - 2013-11-21

>Unpacking takes cpu time and effort.

that is a valid point, however I would prefer that CPU time spend decoding my movie instead of the zip package overhead as well as the movie.

either way you are correct, because you can is sometimes the only reason some users do things, perhaps if you need to point a finger at anyone it may as well be the xbmc devs for supporting rar file containers n the first place.

I will add the supplied lines to the additional and try to get to into the main repo at the same time.


Re: RE: Missing Movie Scanner - nickr - 2013-11-21

(2013-11-21, 10:36)julakali Wrote: Unpacking takes cpu time and effort.
Which is why i'd do it once, rather than every time someone watches the movie.