home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
[Issue] Localized EPG and Trakt MyTV Plugin.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Alberto83" data-source="post: 1204694" data-attributes="member: 128278"><p>Hello, a little follow up.</p><p></p><p>The modified handler is feature complete, and I'm testing it before cleaning the code. Unfortunately I wasn't able to debug it from visual studio (it was always crashing), so I had to use the trakt log as checkpoints to remove bugs. Once it's safe I'll remove most of the logging directives or wrap them inside an #if debug, as of now it's very chatty.</p><p>The program uses a modified MyETVLive class if the feature is enabled, otherwise the standard untouched MyTVLive class is used, so it's very easy to go back to the standard feature if there's a bad bug. There are two new settings that enables or disables the new MyETVLive class and the scrobble notification.</p><p>[ATTACH]184856[/ATTACH]</p><p></p><p>I'll explain better my code when I post it, but from the user perspective it works like this:</p><p></p><p>When a new program is detected it first checks the cache. If a record is found, it's considered safe (cache is populated manually through a GUI) and it scrobble.</p><p>If not, it tries to scrobble the program using the EPG title. If the scrobble is not successful, calls a search on trakt using the title as query and Title,translations as fields. If the search returns a single record, it uses the record to scrobble. Otherwise it pops up a dialog asking the user to start a manual match through the GUI.</p><p>[ATTACH]184855[/ATTACH]</p><p>The manual gui (below) presents the result of the search, and allows to override it with a manual search where the user inputs the title.</p><p>[ATTACH]184858[/ATTACH]</p><p>The result is cached so that no future actions are required. If the dialog is dismissed, the response will be cached and it won't try again to scrobble the program nor ask to manual match it anymore.</p><p>The cache is then saved on a text file for manual editing in the same folder of TbdbCache when mediaportal closes.</p><p>Any successful scrobble can pop up a notification with a 3 seconds timeout, if the setting is enabled:</p><p>[ATTACH]184857[/ATTACH]</p><p></p><p>I'm still trying to fix some bugs on the GUI for the manual selection, mostly about the listcontrol focus and the window dismissal, but I'm using it since a week and it works pretty good on scrobbling. I hope to post a bug free solution after Christmas.</p><p></p><p>For those who whants to test it, again, no worries about breaking the plugin. if you disable the ETV setting you'll fall back to the old final handler and everything will work as before.</p></blockquote><p></p>
[QUOTE="Alberto83, post: 1204694, member: 128278"] Hello, a little follow up. The modified handler is feature complete, and I'm testing it before cleaning the code. Unfortunately I wasn't able to debug it from visual studio (it was always crashing), so I had to use the trakt log as checkpoints to remove bugs. Once it's safe I'll remove most of the logging directives or wrap them inside an #if debug, as of now it's very chatty. The program uses a modified MyETVLive class if the feature is enabled, otherwise the standard untouched MyTVLive class is used, so it's very easy to go back to the standard feature if there's a bad bug. There are two new settings that enables or disables the new MyETVLive class and the scrobble notification. [ATTACH]184856[/ATTACH] I'll explain better my code when I post it, but from the user perspective it works like this: When a new program is detected it first checks the cache. If a record is found, it's considered safe (cache is populated manually through a GUI) and it scrobble. If not, it tries to scrobble the program using the EPG title. If the scrobble is not successful, calls a search on trakt using the title as query and Title,translations as fields. If the search returns a single record, it uses the record to scrobble. Otherwise it pops up a dialog asking the user to start a manual match through the GUI. [ATTACH]184855[/ATTACH] The manual gui (below) presents the result of the search, and allows to override it with a manual search where the user inputs the title. [ATTACH]184858[/ATTACH] The result is cached so that no future actions are required. If the dialog is dismissed, the response will be cached and it won't try again to scrobble the program nor ask to manual match it anymore. The cache is then saved on a text file for manual editing in the same folder of TbdbCache when mediaportal closes. Any successful scrobble can pop up a notification with a 3 seconds timeout, if the setting is enabled: [ATTACH]184857[/ATTACH] I'm still trying to fix some bugs on the GUI for the manual selection, mostly about the listcontrol focus and the window dismissal, but I'm using it since a week and it works pretty good on scrobbling. I hope to post a bug free solution after Christmas. For those who whants to test it, again, no worries about breaking the plugin. if you disable the ETV setting you'll fall back to the old final handler and everything will work as before. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
[Issue] Localized EPG and Trakt MyTV Plugin.
Contact us
RSS
Top
Bottom