Kodi Community Forum
WIP Developer Area - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: WIP Developer Area (/showthread.php?tid=165013)

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


RE: Developer Area - Cocotus - 2015-01-04

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-general#/suggestions?category=56890
Going to update our trakt.tv class to trakt.tv tp Api v2. Ouch lets hope the changes arent that massive Confused


RE: Developer Area - redglory - 2015-01-05

(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-general#/suggestions?category=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.


RE: Developer Area - Cocotus - 2015-01-09

(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-general#/suggestions?category=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/articles/483754-website-changelog


RE: Developer Area - brunosso - 2015-02-27

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


RE: Developer Area - DanCooper - 2015-03-01

(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.


RE: Developer Area - AviBueno - 2015-03-28

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.


RE: Developer Area - Cocotus - 2015-03-28

(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


RE: Developer Area - AviBueno - 2015-03-29

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.


RE: Developer Area - DanCooper - 2015-03-29

(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.


RE: Developer Area - AviBueno - 2015-03-29

Thanks for the feedback, glad I could help.


RE: Developer Area - DanCooper - 2015-04-02

Next cool feature is ready for testing in master branch Big Grin

Based on Cocotus Filter Editor, I've created a "Media List Editor" that allows to create own lists, based on SQLite querys. It's not finshed and proper labled, but it works.
I will working on fine tuning in next days.

Rules are:
  • query must begin with "SELECT "
  • query must contains "movielist", "setslist", "tvshowlist", "seasonslist" or "episodelist" (that mean you have to load the complete default list, otherwise we can't proper fill the lists on main screen)

Image


RE: Developer Area - Cocotus - 2015-04-03

Awesome Dan! Cool


RE: Developer Area - AviBueno - 2015-04-05

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.


RE: Developer Area - Cocotus - 2015-04-05

(2015-04-05, 17:45)AviBueno Wrote: 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.

Another way it worked for me in the past is to set output configuration in project explorer of Ember to x86 configuration and then it compiles Smile


RE: Developer Area - AviBueno - 2015-04-05

(2015-04-05, 18:11)Cocotus Wrote: Another way it worked for me in the past is to set output configuration in project explorer of Ember to x86 configuration and then it compiles Smile

I can't get the project to compile in x64 mode.
What I wrote happened when trying to compile in x86 mode.

Upgrading VLC to v2.2.0 last week was the root of the problem.