Another newbie question :) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60) +--- Thread: Another newbie question :) (/showthread.php?tid=59585) |
Another newbie question :) - Tolriq - 2009-10-12 Ok, So the stupid question Is there a way to get the real filename not the purged one for the CreateSearchUrl. I know i have $$1 for the cleaned filename, $$2 for the year, i tried $$3 to $$9 but no luck :p the problem is that for some films like [rec] XBMC remove all the text so start to search nothing - mkortstiege - 2009-10-12 This was already fixed by jmarshall. Please upgrade your build and report back. - Tolriq - 2009-10-13 Well effectively this particular case is corrected in 23658. But for example a film : The 2001 odyssey the scraper will create a search for The it seems it drop anything after a valid date. Not sure if it"s intended. I'll fill a trac tonigh if needed but need to go work now Full original filename would be usefull to make more specifif work if the scraper works in conjonction with a web site that do the behind work - Tolriq - 2009-10-15 No solution for this problem ? - mkortstiege - 2009-10-15 File a bug report if its still not working for you (with all needed information on how to reproduce). - Tolriq - 2009-10-21 http://trac.xbmc.org/ticket/7374 Still no news Will be hard to make change to the scraper before stable release is out if needed - Tolriq - 2009-10-25 Other cases Quote:15:15:27 T:3022236560 M:2888892416 DEBUG: GetMovieId (stack://xbms://xxxxx:1400/Stock/Film/Ring 0.avi , xbms://xxxxx:1400/Stock/Film/Ring2.avi), query = select idMovie from movie where idFile=502Ring 0 will only search ring. Quote:15:08:46 T:3022236560 M:2887139328 DEBUG: GetMovieId (xbms://xxxxxx:1400/Stock/Film/La Ferme se rebelle.avi), query = select idMovie from movie where idFile=39 La Ferme se rebelle will only search la%20ferme I'm not enough regexp expert to know why this happens, but full original names in a buffer will help to make better scrapers. Version : XBMC, Platform: GNU/Linux. Built on Oct 18 2009 (SVN:23842) - spiff - 2009-10-25 no it will not. it might help your scraper but in general it will cause tons of issues. we HAVE to clean filenames. - Tolriq - 2009-10-25 I do not ask to put this by default, just to add an option like put it in $$3. Or a option in the createurl to disable the cleaning. The problem is that even if it's possible to disable cleaning via advancedsettings it'll break other scrapers for tv or else. The current way of cleaning date is a little too much for films with a year in the middle of the name since it will drop all the rest of the data. - Tolriq - 2009-11-18 Another example of too much cleaning by XBMC. Quote:00:32:51 T:3136 M:2431070208 DEBUG: No NFO file found. Using title search for 'I:\Videos\Films\Thriller\The Good German.avi' a $$3 with the full original movie name would really benefit more advanced scrapers. |