Posts: 7
Joined: Mar 2015
Reputation:
1
Greetings. Love the project and the renewed effort.
The app crashes with the following exception "Input string was not in a correct format.".
The reason is that the reg. ex. "[\\\\/\\._ -]([0-9]+)([0-9][0-9](?:(?:[a-i]|\\.[1-9])(?![0-9]))?)([\\._ -][^\\\\/]*)$" (TVShowMatching ID=5 at clsAPIScanner.vb line 6335) is matching "TV Shows\Cartoons\Road Runner\Complete 1949-1994\01 - Fast & Furry-Ous.mpg" as "-1994\01 - fast & furry-ous.mpg", and then, eItem.Episode = CInt(tEpisode) in clsAPIScanner.vb line 584 is throwing the exception when trying to cast tEpisode to CInt from "94\01".
FYI.
Posts: 7
Joined: Mar 2015
Reputation:
1
Yep, reg. ex. can be tricky and it's hard to understand the purpose of this specific one without documentation so I'll leave it to the meister.
I went ahead and removed the number prefixes from my files, such that 01 - Fast & Furry-Ous.mpg, for example, is now Fast & Furry-Ous.mpg.
This took care of the crash, but didn't yield results.
I then realized that these should be categorized as movies so I added the directory as a movie source.
Still no joy. I can find then movies via IMDB, but Ember MM can't.
Turns out it's a short movie category, which was missing from the IMDB scraper, so I forked the Ember-MM-Newscraper repo and patched the code.
Seems to be working find so I created a pull request in case Dan would like to merge the code.
(*) I totally dislike code duplication, but decided to follow suit according to existing code (instead of rocking the boat).
Cheers.
Posts: 7
Joined: Mar 2015
Reputation:
1
Thanks for the feedback, glad I could help.
Posts: 7
Joined: Mar 2015
Reputation:
1
Foot note:
When trying to compile the code I got AxAXVLC related errors.
It took a while to realize that there's an issue with VLC's ActiveX in version 2.2.0.
After downgrading to VLC v2.1.5 the problem went away.
FYI.