Work in Progress - Developer Area

  Thread Rating:
  • 4 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Cocotus Offline
Moderator
Posts: 386
Joined: Mar 2011
Reputation: 9
Post: #271
Noticed that the complete trakt.tv module isnt working anymore due to Api upgrade of their site. Apparently they updated their website as well: http://trakt.tv/ and some reactions http://support.trakt.tv/forums/188762-ge...gory=56890
Going to update our trakt.tv class to trakt.tv tp Api v2. Ouch lets hope the changes arent that massive Confused
find quote
redglory Offline
Senior Member
Posts: 187
Joined: Dec 2011
Reputation: 3
Location: Portugal
Post: #272
(2015-01-04 12:25)Cocotus Wrote:  Noticed that the complete trakt.tv module isnt working anymore due to Api upgrade of their site. Apparently they updated their website as well: http://trakt.tv/ and some reactions http://support.trakt.tv/forums/188762-ge...gory=56890
Going to update our trakt.tv class to trakt.tv tp Api v2. Ouch lets hope the changes arent that massive Confused

Be aware that new API isn't fully functional yet. They are making major refactoring.

HTPC: LC-Power 1320mi :: Sapphire PURE WHITE Fusion E350 :: 4GB DDR3 :: 30 GB SSD [SO] :: 4TB [Storage]
powered by Win7 | XBMC | SABnzbd | CouchPotato | SickBeard
find quote
Cocotus Offline
Moderator
Posts: 386
Joined: Mar 2011
Reputation: 9
Post: #273
(2015-01-05 18:05)redglory Wrote:  
(2015-01-04 12:25)Cocotus Wrote:  Noticed that the complete trakt.tv module isnt working anymore due to Api upgrade of their site. Apparently they updated their website as well: http://trakt.tv/ and some reactions http://support.trakt.tv/forums/188762-ge...gory=56890
Going to update our trakt.tv class to trakt.tv tp Api v2. Ouch lets hope the changes arent that massive Confused

Be aware that new API isn't fully functional yet. They are making major refactoring.

Yes noticed that, so I refrained from doing any chances yet. However it seems things are worked on, which are good news: http://support.trakt.tv/knowledgebase/ar...-changelog
find quote
brunosso Offline
Junior Member
Posts: 33
Joined: May 2014
Reputation: 0
Location: Italy
Post: #274
Dan i found that the transifex client, is outdated in github repo, and transifex.com notify me! Simply switch to new version of client TX...

http://files.transifex.com/transifex-client/0.10/tx.exe

I'm not in danger Skyler, I'm the danger! A guy opens his door and get shot, and you think that's me? No, I'M THE ONE WHO KNOCKS!!

Ember Media Manager lover...
find quote
DanCooper Offline
Moderator
Posts: 1,880
Joined: Apr 2012
Reputation: 88
Location: Switzerland
Post: #275
(2015-02-27 22:42)brunosso Wrote:  Dan i found that the transifex client, is outdated in github repo, and transifex.com notify me! Simply switch to new version of client TX...

http://files.transifex.com/transifex-client/0.10/tx.exe

Thank you, i will update it.

German Ember-MM Support

Latest Ember-MM - [Release] Ember Media Manager 1.3.x
Latest Ember-MM - [Beta] Ember Media Manager 1.4.x
find quote
AviBueno Offline
Junior Member
Posts: 3
Joined: Mar 2015
Reputation: 1
Post: #276
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.
find quote
Cocotus Offline
Moderator
Posts: 386
Joined: Mar 2011
Reputation: 9
Post: #277
(2015-03-28 01:50)AviBueno Wrote:  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](?Sad?:[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.

Thanks for reporting! Dan is our "RegEx" man, so maybe he can take a look in it Smile
find quote
AviBueno Offline
Junior Member
Posts: 3
Joined: Mar 2015
Reputation: 1
Post: #278
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.
find quote
DanCooper Offline
Moderator
Posts: 1,880
Joined: Apr 2012
Reputation: 88
Location: Switzerland
Post: #279
(2015-03-29 00:59)AviBueno Wrote:  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.

Thank you, code looks like a perfect commit and now it's merged to master.

German Ember-MM Support

Latest Ember-MM - [Release] Ember Media Manager 1.3.x
Latest Ember-MM - [Beta] Ember Media Manager 1.4.x
find quote
AviBueno Offline
Junior Member
Posts: 3
Joined: Mar 2015
Reputation: 1
Post: #280
Thanks for the feedback, glad I could help.
find quote
Post Reply