Files beginning with [ break several XBMC process's
#16
(2014-07-16, 06:54)Ned Scott Wrote: Ah, sorry for the confusion. I believe the regex clean strings have been updated since this thread has started, as I am able to scan in files that start out with a word in brackets. No additional steps should be necessary. Are you still having issues?

still does not trim the front in 13.1. Maybe in the beta? Can you tell me the version you are running? I found some bug trackers and there is some history. I don't really understand how to "separate the enhancements from the bug fixes" (it all seems like a bug to me) but that is apparently what is required to fix it. I think "dragonflight" actually wrote the fixes already, so it might be easy for someone with knowledge to submit it properly.

Thanks

http://forum.xbmc.org/showthread.php?tid=76044
http://trac.xbmc.org/ticket/13977
https://github.com/xbmc/xbmc/pull/1730


03:56:55 T:22788 NOTICE: special://profile/ is mapped to: special://masterprofile/
03:56:55 T:22788 NOTICE: -----------------------------------------------------------------------
03:56:55 T:22788 NOTICE: Starting XBMC (13.1 Git:20140604-84725b0). Platform: x86 Win32 32-bit
03:56:55 T:22788 NOTICE: Using Release XBMC x32 build, compiled Jun 4 2014 by MSVC 160040219 for x86 Win32 32-bit version 0x06000000
03:56:55 T:22788 NOTICE: Running on Windows 7 64-bit, build 7600
03:56:55 T:22788 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
03:56:55 T:22788 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
03:56:55 T:22788 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<tvshowmatching>
<!-- ><regexp>R([0-9]+) E([0-9]+)</regexp> -->
<regexp>[/\._ \- \\p]()([0-9]+)(-[0-9]+)?</regexp>
</tvshowmatching>
<video>
<cleanstrings>
<regexp>[ _\,\.\(\)\[\]\-](ac3|dts|custom|dc|divx|divx5|dsr|dsrip|dutch|dvd|dvdrip|dvdscr|dvdscreener|screener|dvdivx|cam|fragment|fs|hdtv|hdrip|hdtvrip|internal|limited|multisubs|ntsc|ogg|ogm|pal|pdtv|proper|repack|rerip|retail|r3|r5|bd5|se|svcd|swedish|german|read.nfo|nfofix|unrated|ws|telesync|ts|telecine|tc|brrip|bdrip|480p|480i|576p|576i|720p|720i|1280x720|1080p|1080i|EEX|hrhd|hrhdtv|hddvd|bluray|mp4|x264|h264|Doki|EROBEAT|ExiledDestiny|K1|FAKKU|YarashiiSubs|AnimE|Pr0n|KH|MOT|a4e|SubDESUH|xvid|xvidvd|xxx|www.www|1280|720|cd[1-9]|\[.*\])([ _\,\.\(\)\[\]\-]|$)</regexp>
<regexp>(\[.*?\])</regexp>
</cleanstrings>
</video>
</advancedsettings>




03:57:11 T:22788 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'I:\ANIME\[Aho-Taku] Sakurasou no Pet na Kanojo [720p Hi10P]\'
03:57:11 T:22788 DEBUG: DialogProgress::StartModal called
03:57:11 T:22788 DEBUG: ------ Window Init (DialogProgress.xml) ------
03:57:11 T:22788 INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
03:57:12 T:22028 NOTICE: Thread VideoInfoDownloader start, auto delete: false
03:57:12 T:22028 DEBUG: ADDON::CScraper::FindMovie: Searching for '[Aho-Taku] Sakurasou no Pet na Kanojo' using AniDB.net scraper (path: 'C:\Users\Violet\AppData\Roaming\XBMC\addons\metadata.anidb.net', content: 'tvshows', version: '2.0.0')
03:57:12 T:22028 DEBUG: scraper: CreateSearchUrl returned <url gzip="yes">http://www.google.com/search?q=site:anidb.net+Aho+&filter=0</url>
03:57:12 T:22028 DEBUG: CurlFile::Open(1037BE38) http://www.google.com/search?q=site:anid...+&filter=0
03:57:12 T:22028 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://www.google.com
03:57:12 T:22028 DEBUG: CScraperUrl::Get: Using "ISO-8859-1" charset for HTML "http://www.google.com/search?q=site:anidb.net+Aho+&filter=0"
03:57:12 T:22028 DEBUG: scraper: GetSearchResults returned <results></results>
03:57:12 T:22028 DEBUG: ADDON::CScraper::FindMovie: Searching for '[Aho-Taku] Sakurasou no Pet na Kanojo' using AniDB.net scraper (path: 'C:\Users\Violet\AppData\Roaming\XBMC\addons\metadata.anidb.net', content: 'tvshows', version: '2.0.0')
03:57:12 T:22028 DEBUG: scraper: CreateSearchUrl returned <url gzip="yes">http://www.google.com/search?q=site:anidb.net+Aho+Taku+Sakurasou+no+Pet+na+Kanojo+&filter=0</url>
03:57:12 T:22028 DEBUG: CurlFile::Open(1037BE38) http://www.google.com/search?q=site:anid...+&filter=0
03:57:12 T:22028 DEBUG: CScraperUrl::Get: Using "ISO-8859-1" charset for HTML "http://www.google.com/search?q=site:anidb.net+Aho+Taku+Sakurasou+no+Pet+na+Kanojo+&filter=0"
03:57:12 T:22028 DEBUG: scraper: GetSearchResults returned <results></results>
Reply
#17
It's been working for my anime since v12, and I can certainly confirm it's working in v13.1 and v13.2beta1, with no special regex needed.

*shrug*
Reply
#18
(2014-07-16, 11:35)Ned Scott Wrote: It's been working for my anime since v12, and I can certainly confirm it's working in v13.1 and v13.2beta1, with no special regex needed.

*shrug*

hmm. can you give me an example from your log? what file names are you able to parse? and what scraper are you using? I'm using the anidb scraper. I removed the advancedsettings.xml and I get the same thing.

thanks
Reply
#19
I've spun up a vm with the 13.1 release installed, and it definitely does not work out of the box as you described. When I turn debug on, I see it trying to query the file name with the square bracketed info at the beginning, which is the same behavior as the v12 release I was using before. I'm forced to assume you are incorrect here. Definitely not working. I'm starting to take a look at the code, if no one else is interested. Again, if you have some special configuration to get it to work I would love to see it. In the mean time I'll be reading "Practical C++ Programming" to see what I can do. Maybe in 2 or 3 more years I'll be proficient enough to fix it, and I'll re-open this thread? Big Grin
Reply
#20
Alright, I did some more testing:

Episode file: [HorribleSubs] Ping Pong the Animation - EP01 [720p].mkv - scans in just fine. XBMC ignores what is in the bracket, but still picks up the episode number pattern.

TV show directory: [test]Ping Pong or [Ping Pong] - this seems to have the issue described in this thread. XBMC doesn't seem to be seeing any title to do a search for.

Movie file: [Test] Ghostbusters.mkv - no file match, but only because XBMC thinks the movie starts with the word "test", but it still searches with the full title. XBMC does not seem to ignore the text in brackets for movie files. [Ghostbusters].mkv worked as well.

So basically there's still some issue, but just with TV show directories.
Reply
#21
Ah, that explains why we were getting seemingly different results. it must handle directories differently in the code. Thanks for taking the time to test, and for clarifying.
Reply

Logout Mark Read Team Forum Stats Members Help
Files beginning with [ break several XBMC process's0