Wrench Trakt 1.0 beta (REQUIRES ATLAS)

 
  • Created:about 1 year ago
  • Modified:10 months ago
  • Status:closed
  • Owner:unassigned
  • Related:#8005 , #11204

Here’s a test of the overhauled Trakt plugin for anyone who’s interested in trying it with Atlas.

What’s New

  • new trakt entrypoint at the root level allowing access to some of the best features from the trakt website.
  • Optional advanced ratings & shout dialog that shows at the end of the viewing experience (Enable in the config app). If enabled, only triggers when your playing 1 item at a time
  • Ability to add MBTrailers and any movie/show/episode from the trakt views to your Watchlist.

What’s Changed

  • Rewrote the core behavior regarding syncs to/from the site. Hopefully people will see more reliable performance
  • Thanks to Atlas, trakt can now report watching/watched status on all items in a random/play-all list.

What’s Broken or Not Finished

  • Hopefully nothing else :D

Download here.

Revision History

0.9.9.22 (July 14, 2012)

  • Finished localization support.
  • Finished skin support.

0.9.9.18 (July 11, 2012)

  • Changed config UI layout.
  • Fixed crash when Trakt custom pages are left open when contents update.
  • Initial Skinning support (About 90% of the font/colors exposed)

0.9.9.16 (May 27, 2012)

  • Bug fix regarding Trakt UI timer.

0.9.9.13 (May 25, 2012)

  • Very early work on localization support
  • More logger messages for troubleshooting.

0.9.9.12 (May 23, 2012)

  • Friends tab now shows what each friend is currently watching and up to 5 recent watched titles.
  • Friend requests display and can now be accepted/declined within the Trakt UI.
  • Disabling the Trakt folder now also disables any background tasks associated with it.
  • Fixed “sign up with trakt.tv” hyperlink in config app.

0.9.6.31

  • Updated for Atlas beta 3
  • Trakt Home now starts populating when plugin is launched
  • Fixed bug in reporting Watched after playback
  • Trakt Home no longer updates every time you navigate to it

0.9.6.21

  • Attach playstate listener after initial library tasks.

0.9.6.20

  • Added label in the header to describe selected tab.

0.9.6.19

  • Fixed a couple of bugs in the configuration app.
  • Optional ratings dialog only appears now if the item is watched past the maximum resume point.

0.9.6.17

  • Initial Release

Please report all Trakt alpha issues in this thread only.

 

51 Discussions

1 2
votes newest oldest
 
  • Created:about 1 year ago

Hi Redshirt.

I have Atlas and Trakt v0.9.6.17 installed, but when I have a video stop, there is no POP-UP at the end of a video, even though the dialogue option is set in the plugin config.

When I checked the config, the check-box was unchecked, so it looks like it isn’t retaining the setting.

I have set the option on and pressed accept, but as soon as I go back in to check, the option is unchecked.

Any ideas ??

Also, what is the “Show Trakt Home Folder” option for please ??

 
  • home folder is the entry on the ehs scroller. – tikuf about 1 year ago
  • So it is, didn’t even notice. – CBers about 1 year ago
  • Is the trakt home folder check box staying checked between launches. Can I see a configurator log with you checking “show rating dialog”? – Redshirt about 1 year ago
  • nevermind, figured out the problem. The checked event was unhooked. Redownload from the link above and it should be fine. – Redshirt about 1 year ago
  • That’s better, thanks RS. I have another bug though, see below. – CBers about 1 year ago
  • show 1 more comment
 
  • Created:about 1 year ago

When I exit TRAKT, back to the EHS (Neo), I get a BLUE (in between) screen.

I’ve left this for about 10 minutes and nothing.

If I press back again, I leave MB and am returned to MCE.

Log here.

 
  • I’ll look into that blue screen. I’ve seen it twice myself. I noticed the plugin had trouble marking that episode watched also. Are you using MB’s built-in meta providers, or metabrowser/mcm? – Redshirt about 1 year ago
  • I use MCM but Allow Internet Providers is also on, but Save Locally is not. – CBers about 1 year ago
 
  • Created:about 1 year ago

Good day Redshirt,

With new install for the plug in, it do not take user/pass:

7:35:44.439 PM 5/5/2012 , Verbose , =========System looking for assembly: TraktMB.XmlSerializers,, Version=0.9.6.17,, Culture=neutral,, PublicKeyToken=307c6ce4e08b837b ,  , 1 , Application
7:35:44.688 PM 5/5/2012 , Info , Trakt (version 0.9.6.17) Plug-in Loaded in 0.262015 Seconds ,  , 1 , Application
7:35:44.689 PM 5/5/2012 , Info , *** TRAKT *** Plugin Initializing ,  , 21 , Worker thread for Trakt Init
7:35:44.690 PM 5/5/2012 , Info , Plugin Loading and Init took 0.87 seconds. ,  , 1 , Application
7:35:44.690 PM 5/5/2012 , Info , *** TRAKT *** User Account: Account not valid or unable to connect,, disabling Trakt features ,  , 21 , Worker thread for Trakt Init

My account user/pass working in the web site.

My best

 
  • Oops my mistake, download again and re-enter your info. Should work fine. – Redshirt about 1 year ago
  • Well done! Time to do the test then, i will report back if I find anything – abobader about 1 year ago
 
  • Created:about 1 year ago
  • Modified:about 1 year ago

What do the ICONs refer to at the top of the TRAKT screen please ??

alt text

Are they watching, rating, friends, show in grid, show in list ??

How do I get to the TV Shows on the left of the screen ?? It seems greyed out.

Is it not active yet ??

alt text

 
 
  • Created:about 1 year ago

I’m going to end up including labels it seems, you aren’t the first person to wonder. The icons at the top are,

  • Community Activity: Shows what the community is watching right now
  • Recommended: Stuff recommended for you based on viewing habits and other info
  • Friends: A list of your friends (Not completed)
  • TV Calendar: A list of episodes from your shows that are airing over the next 7 days.
  • Watch list: Anything you add to your watch list is shown here. A reminder of what you’d like to see or collect.

As far as the options on the left. On each screen that has them if should be just a matter of pressing left from the content area of any screen.

 
 
  • Created:about 1 year ago
  • Modified:about 1 year ago

Thanks RedShirt.

The press left to access TV shows/movies seems a bit hit and miss. I’ve only got it to work once and now can’t get it back to Movies.

If I select on a movie, what should happen ??

I still can’t seem to back out of the Trakt screen – always get that blue (in-between) screen. Are you still working on this ?? Could TraktMB be trying to download too much data which causes that ??

Can we limit it somehow to only 10, 20, 30 items, as my log is full of Trakt logging.

 
  • What are you using to navigate, keyboard, remote? Regarding the blue screen. What happens if you wait until all the tabs have loaded their info before backing to the ehs. – Redshirt about 1 year ago
  • Keyboard. OK, will load TRAKT screen and leave it alone for 30 minutes and see what happens. – CBers about 1 year ago
  • Left it on the screen for about 2 hours and now when I press back, just the blue screen. A 2nd back press exits MB. Log here. – CBers about 1 year ago
  • You shouldn’t have to leave it for 2 hours I was thinking more like 2 minutes. As I said before I have only seen this issue 2-3 times. I have an idea that I think might fix it, which will not be quick… It’ll involve pushing stuff to the service so it runs regardless of the UI. – Redshirt about 1 year ago
  • Out of curiosity. How fast would you say your internet is. That might be an issue. Are all the tabs actually populating? – Redshirt about 1 year ago
  • show 1 more comment
 
  • Created:about 1 year ago

@Redshirt – had a few “The remote server returned an error” messages in the latest log:

1:30:22.094 PM 7/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":"tt2022170",,"tvdb_id":"255266",,"title":"The Client List",,"year":2012,,"episode_list":[{"season":"1",,"episode":"5"}]} ,  , 9 , 
1:30:22.448 PM 7/5/2012 , Verbose , *** TRAKT *** {"status":"failure",,"error":"The remote server returned an error: (400) Bad Request."} ,  , 9 , 
1:30:22.476 PM 7/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":"tt0410975",,"tvdb_id":"73800",,"title":"Desperate Housewives",,"year":2012,,"episode_list":[{"season":"8",,"episode":"21"}]} ,  , 9 , 
1:30:22.920 PM 7/5/2012 , Verbose , *** TRAKT *** {"status":"failure",,"error":"The remote server returned an error: (400) Bad Request."} ,  , 9 , 
1:30:23.141 PM 7/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":"tt0944947",,"tvdb_id":"121361",,"title":"Game of Thrones",,"year":2012,,"episode_list":[{"season":"2",,"episode":"6"}]} ,  , 9 , 
1:30:23.524 PM 7/5/2012 , Verbose , *** TRAKT *** {"status":"failure",,"error":"The remote server returned an error: (400) Bad Request."} ,  , 9 , 

All tabs populated in Trakt screen and I can move around OK, and back out to EHS.

Perhaps there was a glitch on the Trakt website, or something has worked itself out overnight. Not very scientific, but working now.

TIA.

 
 
  • Created:about 1 year ago

Getting an error using the sync from trakt option:

Verbose , TRAKT {“status”:“failure”,,“error”:“shows per hour limit reached”}

 
  • This is after wiping all local playstate and starting fresh. – luke about 1 year ago
  • Intersting. I didnt actually know they had a limit. – Redshirt about 1 year ago
  • Do you use separate http requests for each show or do you get them all at once? – luke about 1 year ago
  • I’m also seeing an issue with beta 1 where any item you navigate into in the ui gets scrobbled. It might have something to do with a change that ebr and I made to the core. Turn off the PlayStateSaved event for now. – luke about 1 year ago
  • I saw there was a PlayState saved event on Application but nothing that calls it… – ebr about 1 year ago
  • show 21 more comments
 
  • Created:about 1 year ago

Still getting blue screens occasionally when accessing and navigating Trakt in MB.

When I select an upcoming episode, and then press back, it takes be to the Community Activity tab and not back to the TV Calendar tab.

Seems to take a while when switching between tabs, I suppose it’s refreshing the screen.

Does the plugin request an update on each tab entry or only when Trakt is entered ??

 
  • Regarding the blue screen. I’m going to end up refactoring and moving some stuff to the service. I’m not likely to get to it till the weekend because it’ll be a big job. It currently rebuilds the tabs whenever the trakt home is entered, either from the ehs or from an movie/episode/series details page. That is why you are returned to the first tab rather than the one you were on. – Redshirt about 1 year ago
  • Your navigating between tabs shouldn’t have such a delay. I’m curious what kind of machine your testing on. Is it an atom/ion? – Redshirt about 1 year ago
  • No, it’s a quad core – may just be me being impatient. If you’re going to revisit it, then I’ll wait till you’re done. Thanks. – CBers about 1 year ago
 
  • Created:about 1 year ago

Just so were on the same page, this is a sample of how navigation is on my setup, Core2 Quad with 4GB ram. Moving the data collection to the service will hopefully have all the pages loaded before the user clicks the trakt folder.

 
  • Interesting. First things first, I am using NEO and you are using PEARL. Have you tried with NEO ?? Not saying it’s NEO, but you never know :–) How long did/do you have MB running before entering Trakt screen ?? I have been entering as soon as MB is loaded, so I assume it is downloading tons of info from Trakt. Well, this time I waited a few minutes, monitoring the log until Trakt had finished and had populated all of the tabs, then I did what you did, and navigated around and it was OK – tabs weren’t loaded as quick as yours in the video (was that real-time ??) but then after going into the details of a show premiering soon (Common Law), I pressed back (backspace button on KB) and got the initial tab again, but this time it’s stuck with only 3 entries, and now I cannot get off of the tab/screen or anything and I am forced to close MB. MB/Trakt seems to get stuck at 9:38 PM if you wanna see in the log here. – CBers about 1 year ago
 
  • Created:about 1 year ago
  • Modified:about 1 year ago

coming out of comments.

Due to the way custom UI’s are used in MB, I’m not starting my web requests until the user actually clicks on the Trakt VF. So the only benefit to waiting before clicking on the Trakt VF is that it gives themes a chance to finish any initial housekeeping, which perhaps is more for Neo because it’s building all that eye candy.. I use Neo more than Pearl and haven’t noticed any difference with the Trakt UI. Because I’m testing plugins I’m changing themes constantly, so I’m seeing how they all behave. The only other possible benefit is the fact that when Trakt loads, it does an account verification with the site before enabling all functionality. You’ve probably seen messages to that effect in the log. Delaying before entering the UI on a slow internet connection would give that account challenge time to finish. In the interest of speed, I may do what follw.it does which is just assume the account is valid if there’s a username and password.

The video I made was realtime. No post processing whatsoever. So what you saw is what I see pretty much every time I use it. My internet connection is 12 megabytes per second, so that probably helped some.

Looking at your log… It looks like when you pressed back, the three threads sent their requests to trakt and didn’t get any replies. I’m looking at switching stuff up as I said and moving that functionality into the service. So when a user navigates back into the home screen, it’s not resending all the requests. Instead using the already requested info.

 
  • Thanks Redshirt, I’ll await your updates. As I said previously, I am on 100Mb/12MB broadband connection, so nowhere near slow. – CBers about 1 year ago
 
  • Created:about 1 year ago

…Now if I can only solve that initial load delay :D

 
 
  • Created:about 1 year ago

A new version is up. The Trakt Home UI should behave better. It now starts building the views when the plugin is launched rather than when you navigate into the Trakt VF. It still takes a certain amount of time to build the view, so if a user navigates directly to the Trakt VF upon launching MB they may still be watching the tiles download art.

The info in these views now updates at intervals, such as every 15 minutes for the Community Activity tab. This means the app won’t rebuild the view every time the details view is entered.

 
 
  • Created:about 1 year ago

hey red.. i want to test this with b3/4 but my trakt account is a mess.. things on there that i have deleted or whatever.. can your plugin completely wipe and restart my account with what it finds in my mb and nothing “leftover” ??

 
  • unfortunately no. until Atlas I haven’t had a way to respond to items being removed from the library. I’ve been kinda wary actually because users without shared playstates could really make a mess of there profile. – Redshirt about 1 year ago
  • crap.. cause if i goto the website and goto tv: all it thinks i have like 40 more series than i have.. some are like multiple older versions (old hawaii5-0, hawaii 5-0 (2011)) – Mrwebsmith about 1 year ago
  • doh! and I know its a slow process on the site to clean house. – Redshirt about 1 year ago
 
  • Created:about 1 year ago
  • Modified:about 1 year ago

Hi RedShirt.

I’ve got a problem with Trakt/MB.

Sometimes, when a video ends, MB is exited immediastely.

I believe it to be the Trakt plugin causing this, or it is manifesting as Trakt, as the Scrobble box pops up for a split-second and then disappears and MB exits.

At the end of the log it has this:

10:13:50.166 AM 18/5/2012 , Verbose , Playstate changed to Stopped for 23 - Firewall,, PositionTicks:26269577083,, Playlist Index:0 ,  , 1 , Application
10:13:50.177 AM 18/5/2012 , Verbose , Setting now playing status to False ,  , 1 , Application
10:13:50.186 AM 18/5/2012 , Verbose , Playstate saved for 23 - Firewall at 00:00:00,, duration: 00:43:46.9577083,, playlist position: 0 ,  , 1 , Application
10:13:50.214 AM 18/5/2012 , Verbose , *** TRAKT *** Played media contains 1 items ,  , 1 , Application
10:13:50.225 AM 18/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":null,,"tvdb_id":"248742",,"title":"Person of Interest",,"year":2012,,"season":1,,"episode":23,,"duration":43,,"plugin_version":"0.9.6.18",,"media_center_version":"2.6.0.0",,"media_center_date":"June 1,, 2012"} ,  , 43 , Worker thread for TRAKT: Scrobble Item
10:13:50.227 AM 18/5/2012 , Verbose , Firing OnPlaybackFinished for: 23 - Firewall ,  , 1 , Application
10:13:50.238 AM 18/5/2012 , Verbose , Running Kernel post-play processes ,  , 1 , Application
10:13:50.241 AM 18/5/2012 , Verbose , Updating Resume status... ,  , 1 , Application
10:13:50.245 AM 18/5/2012 , Verbose , All post-playback actions have completed. ,  , 1 , Application
10:13:50.247 AM 18/5/2012 , Verbose , Ensuring MB is front-most app ,  , 1 , Application
10:13:51.009 AM 18/5/2012 , Verbose , *** TRAKT *** {"status":"success",,"message:scrobbled Person of Interest 1x23",,"show":{"title":"Person of Interest",,"year":"2011",,"imdb_id":"tt1839578",,"tvdb_id":"248742"},,"season":1,,"episode":{"number":23,,"title":"Firewall"},,"facebook":false,,"twitter":false,,"tumblr":false} ,  , 43 , Worker thread for TRAKT: Scrobble Item

Any ideas ??

Full log here.

This is MB Atlas Beta5, and Trakt v0.9.6.31.

I have seen this in all Betas of Atlas and both Atlas releases of Trakt plugin.

 
  • Are you using external players? – Redshirt about 1 year ago
  • No, all internal. – CBers about 1 year ago
  • Does it happen with every file you play? Or can it be narrowed down to certain file types? That log you posted, was the episode you watched an .iso or something? – Redshirt about 1 year ago
  • Seems to be most videos, of which they are mainly MKVs, plus the odd AVI. This one was an MKV. Just played the same video on another HTPC running Atlas and didn’t error, so may uninstall MB and re-install on first one. – CBers about 1 year ago
  • hang tight for now, Luke and I have a working theory as to what might be happening – Redshirt about 1 year ago
  • show 4 more comments
 
  • Created:about 1 year ago

Good day,

I notice on the plugin setting tab (Account) that click on “Sign up with trakt.tv” do not have any effect.

My best

 
  • Fixed in next release. thanks :) – Redshirt about 1 year ago
  • Many thanks Redshirt, and well done as always! Sorry if I do not test as it should be, but after next ver of this lovely plugin I will, since I need it to test some issue. – abobader about 1 year ago
 
  • Created:about 1 year ago
  • Modified:about 1 year ago by DemonSeed

Ok I’ve added the final functionality that I want for the friends tab. I just have one more feature to implement and then it’s bug fixes and style tweaks from here out. I’ll release another beta when ebr releases B7 of Atlas, that way I can compile against it.

alt text

alt text

 
  • my stuff is in trunk now if you want to start testing. – luke about 1 year ago
 
  • Created:12 months ago

Not sure if this is a bug, a limitation, or just something that is allowed, but if you watch a video and rate it, and then watch the same video again, you get the rating prompt again.

Could be annoying if you watch the same movie over and over again.

The rating only seems to appear once on the Trakt website.

Just thought I’d mention it.

TIA.

 
  • This is a tricky one, it’s my thought that a user might rewatch a title at a later date and change their mind about how they liked it. It is possible for me to inspect the site once during playback and determine if a user has already rated an item before showing the dialog at the end, but that would then require the user to go to the site to change their rating. Also the user may want to watch the movie a second time and send another shout, regardless of rating. People do crazy stuff :) – Redshirt 12 months ago
  • Could it be made configurable ?? Play it once, rate it once. If you wanna change the rating, turn the option off/on and the play to the end and rate again ?? Not a major issue, but possibly a nice to have if possible. – CBers 12 months ago
  • I’ll have to think on if/how I want to do that. I’m asking to site for a ton of info in that request just to find out if it’s been watched before. – Redshirt 12 months ago
 
  • Created:12 months ago
  • Modified:12 months ago

New build is up… CBers, can you let me know if your still getting that error with the rating dialog on your one machine with B7 and this build.

Also, to anyone who’s testing this. I’d like to send friend requests from a test account to verify the functionality is working… So anyone who’s willing, let me know your trakt username.

 
  • Big Jonson, friend me! – DemonSeed 12 months ago
  • lol.. You sure it’s not little mac… – Redshirt 12 months ago
  • heh, I am not in the list as well :) – abobader 12 months ago
  • mrwebsmith ..installing this new build now – Mrwebsmith 12 months ago
  • “abobader” as everywhere I guess :) – abobader 12 months ago
  • show 6 more comments
 
  • Created:12 months ago

Good day Redshirt,

Well, I notice some issue, do not know if it by design:

The cover (poster) for the movies in the section (watching now), do not show the correct the type of the movie in the cover, like dvd, bluray … etc.

Or should that be as a request issue? What i mean, if I have that title, better to show from the cover the type for the media that i have it in my collections.

PS: I hope my ears do not blow out after this post :) J/K tho :)

Great plugin, well done as always.

My best

 
  • That is by design. I did consider having Trakt try to use images from the users library if available, but the way we search library is a bit of a pain to do for every title. That being said, at a later date I would still like to add the ability to jump to a movie/show/episode in the users library if it’s available. – Redshirt 12 months ago
  • Well done Redshirt! Great work indeed! – abobader 12 months ago
  • I see the plug in crash MB now, it just set there, ecit to EHS, nothing there, then ext MB – abobader 12 months ago
  • exit = exit – abobader 12 months ago
  • Now working, seem the problem from MBTV – abobader 12 months ago
 
  • Created:12 months ago
  • Modified:12 months ago

Hi Redshirt.

I’m still occasionally getting MB exit when a video ends.

Not 100% sure about this, but it seems to happen more if the video has been paused for a while, as that is what I did just now, then played to the end and MB exited.

Start of pause:

10:11:00.194 AM 25/5/2012 , Verbose , Playstate changed to Paused for 6 - Get Me Out Of Here,, PositionTicks:10838394583,, Playlist Index:0 ,  , 1 , Application
10:11:00.195 AM 25/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
10:11:00.325 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: PlayState ,  , 1 , Application
10:11:00.325 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:03.8861875,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:11:00.505 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:11:00.505 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:03.8861875,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:19:46.888 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: PlayRate ,  , 1 , Application
10:19:47.005 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:03.8861875,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:19:47.005 AM 25/5/2012 , Verbose , Playstate changed to Playing for 6 - Get Me Out Of Here,, PositionTicks:10838861875,, Playlist Index:0 ,  , 1 , Application
10:19:47.005 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: PlayState ,  , 1 , Application
10:19:47.021 AM 25/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":null,,"tvdb_id":"73696",,"title":"CSI: NY",,"year":2011,,"season":8,,"episode":6,,"duration":41,,"plugin_version":"0.9.6.31",,"media_center_version":"2.6.0.0",,"media_center_date":"June 1,, 2012"} ,  , 65 , Worker thread for TRAKT: Wathing Item
10:19:47.138 AM 25/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
10:19:47.138 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:04.0090000,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:19:47.245 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.246 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:04.0569791,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:19:47.256 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.279 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.312 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.417 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.522 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.631 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.746 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.853 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:47.964 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:48.074 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:48.178 AM 25/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
10:19:48.282 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:18:05.1504375,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress

End of log file:

10:44:06.086 AM 25/5/2012 , Verbose , Playstate changed to Stopped for 6 - Get Me Out Of Here,, PositionTicks:24647709167,, Playlist Index:0 ,  , 1 , Application
10:44:06.087 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:00:00,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 69 , Worker thread for BasePlaybackController OnProgress
10:44:06.154 AM 25/5/2012 , Verbose , Setting now playing status to False ,  , 1 , Application
10:44:06.157 AM 25/5/2012 , Verbose , Ensuring MB is front-most app ,  , 1 , Application
10:44:06.244 AM 25/5/2012 , Verbose , Internal Player playback finished ,  , 1 , Application
10:44:06.246 AM 25/5/2012 , Verbose , Playstate saved for 6 - Get Me Out Of Here at 00:00:00,, duration: 00:41:04.7977083,, playlist position: 0 ,  , 1 , Application
10:44:06.270 AM 25/5/2012 , Verbose , Firing Application.PlaybackFinished for: 6 - Get Me Out Of Here ,  , 1 , Application
10:44:06.291 AM 25/5/2012 , Verbose , *** TRAKT *** Played media contains 1 items ,  , 61 , Worker thread for PlayableItem PlaybackFinished
10:44:06.307 AM 25/5/2012 , Verbose , MBTV - ignoring played item: 6 - Get Me Out Of Here. Not in watched collections. ,  , 66 , Worker thread for OnPlaybackFinished
10:44:06.311 AM 25/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":null,,"tvdb_id":"73696",,"title":"CSI: NY",,"year":2011,,"season":8,,"episode":6,,"duration":41,,"plugin_version":"0.9.6.31",,"media_center_version":"2.6.0.0",,"media_center_date":"June 1,, 2012"} ,  , 62 , Worker thread for TRAKT: Scrobble Item
10:44:06.320 AM 25/5/2012 , Verbose , Updating Resume status... ,  , 1 , Application
10:44:06.326 AM 25/5/2012 , Verbose , All post-playback actions have completed. ,  , 1 , Application
10:44:06.847 AM 25/5/2012 , Info , Metadata changed for the following item CSI NY - 8x06 (first pass : False forced via UI : True) ,  , 7 , Worker thread for UI Triggered Metadata Loader
10:44:07.546 AM 25/5/2012 , Info , Episode provider not fetching because local meta exists: 6 - Get Me Out Of Here ,  , 7 , Worker thread for UI Triggered Metadata Loader
10:44:07.592 AM 25/5/2012 , Info , Getting media info from \\MEDIASERVER-2\videos\TV\CSI NY\Season 08\CSI NY - 8x06.mkv ,  , 9 , 
10:44:07.793 AM 25/5/2012 , Info , Media Info extraction took 0.24 seconds. ,  , 7 , Worker thread for UI Triggered Metadata Loader
10:44:08.018 AM 25/5/2012 , Verbose , *** TRAKT *** {"status":"success",,"message":"scrobbled CSI: NY 8x06",,"show":{"title":"CSI: NY",,"year":"2004",,"imdb_id":"tt0395843",,"tvdb_id":"73696"},,"season":8,,"episode":{"number":6,,"title":"Get Me Out Of Here"},,"facebook":false,,"twitter":false,,"tumblr":false} ,  , 62 , Worker thread for TRAKT: Scrobble Item

Trakt seems to have got the update that I watched the video, but there was no Scrobble box before MB exited.

I think MB needs to write a message to the log file when it exits gracefully so it can be differentiated against a forced exit, unless it already does that some other way.

TIA.

 
  • When I get home tonight, I’ll post a new version of Trakt with some more logging info. I need to determine if the rating popup is actually getting called. – Redshirt 12 months ago
  • Cool, thanks Redshirt. – CBers 12 months ago
  • Hey Cbers, give 0.9.9.13 a try. The logger is more chatty when trying to display that ratings dialog. – Redshirt 12 months ago
  • Thanks Redshirt. It might be tomorrow before I can test it though. – CBers 12 months ago
 
  • Created:12 months ago

Hi Redshirt.

It happened again.

End of the log here.

I can supply full log if you need it.

TIA.

 
  • When MB exits after a video plays, do you always see the ratings popup for a split second. The extra logging shows that it should be visible. – Redshirt 12 months ago
  • Also, can you remember if it’s ever happened after a movie, or is it just TV Episodes that do this. – Redshirt 12 months ago
  • For a split second, yes. Not sure about Movies, as I don’t watch them that often, but I will try one later/tomorrow. – CBers 12 months ago
  • Just played a movie. Paused it half way through for about 30 minutes, then let it play to the end – no issue. – CBers 12 months ago
  • I’ll do some more testing here. If pausing is causing the issue. I’ll have to mention it to Luke as it could be a core problem. – Redshirt 12 months ago
  • show 5 more comments
 
  • Created:12 months ago
  • Modified:12 months ago

@Redshirt – OK, I have played 3 separate videos on the new release, and everything was fine.

Gonna play some more and see how it goes – will report back later, but looks encouraging, although I think there is something wrong somewhere, possibly with MB core, as occasionally MB will exit for no apparent reason.

Just started playing another video, stopped it as I wanted to re-start from the beginning (pressed stop, then play not resume), and MB exited !!

This is the end of the log file for that occurrence:

11:28:39.938 AM 29/5/2012 , Verbose , Playstate saved for 18 - Law and Disorder (1) at 00:02:33.4010833,, duration: 00:41:44.9217083,, playlist position: 0 ,  , 5 , Worker thread for BasePlaybackController OnProgress
11:28:39.938 AM 29/5/2012 , Verbose , Playstate changed to Stopped for 18 - Law and Disorder (1),, PositionTicks:1534010833,, Playlist Index:0 ,  , 1 , Application
11:28:39.953 AM 29/5/2012 , Verbose , Setting now playing status to False ,  , 1 , Application
11:28:39.956 AM 29/5/2012 , Verbose , Ensuring MB is front-most app ,  , 1 , Application
11:28:40.109 AM 29/5/2012 , Verbose , Internal Player playback finished ,  , 1 , Application
11:28:40.114 AM 29/5/2012 , Verbose , Playstate saved for 18 - Law and Disorder (1) at 00:02:33.4010833,, duration: 00:41:44.9217083,, playlist position: 0 ,  , 1 , Application
11:28:40.146 AM 29/5/2012 , Verbose , Firing Application.PlaybackFinished for: 18 - Law and Disorder (1) ,  , 1 , Application
11:28:40.166 AM 29/5/2012 , Verbose , Updating Resume status... ,  , 1 , Application
11:28:40.169 AM 29/5/2012 , Verbose , MBTV - ignoring played item: 18 - Law and Disorder (1). Not in watched collections. ,  , 76 , Worker thread for OnPlaybackFinished
11:28:40.173 AM 29/5/2012 , Verbose , *** TRAKT *** Detaching Playable's event handlers ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.174 AM 29/5/2012 , Verbose , All post-playback actions have completed. ,  , 1 , Application
11:28:40.176 AM 29/5/2012 , Verbose , *** TRAKT *** Attaching Playstate Monitor ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.185 AM 29/5/2012 , Verbose , *** TRAKT *** Attaching Playstate Event Listener ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.185 AM 29/5/2012 , Verbose , *** TRAKT *** Resuming local library monitoring ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.186 AM 29/5/2012 , Verbose , *** TRAKT *** Checking Played Media ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.187 AM 29/5/2012 , Verbose , *** TRAKT *** Played media contains 1 items ,  , 74 , Worker thread for PlayableItem PlaybackFinished
11:28:40.190 AM 29/5/2012 , Verbose , *** TRAKT *** Determining if Rating popup should be shown ,  , 74 , Worker thread for PlayableItem PlaybackFinished

Had to re-start MCE/MB to be able to play the video again, which has so far played fine.

It’s a strange one.

 
  • Well that last line in the log is the last comment the Trakt plugin would make after playback. What interests me, is the fact that the log entry MB would make before playback isn’t there. – Redshirt 12 months ago
  • Do you have any Media Center plugins installed other than Mediabrowser. – Redshirt 12 months ago
  • Is there anything in the windows event log indicating a crash of some sort? – luke 12 months ago
  • No, only normal MCE stuff and MB. Where should the MB playback message be ?? That is the end of the log file – nothing else was written – should there have been, such as MB closing gracefully ?? Nothing in eventvwr for that time period. – CBers 12 months ago
  • I mean in the windows event viewer. Check if there was an application or system crash of some sort. – luke 12 months ago
  • show 6 more comments
 
  • Created:12 months ago

There is this in the log when the video first starts to play:

11:25:50.114 AM 29/5/2012 , Info , Verify Children (UI Triggered) Season 10 took 0.30 seconds. ,  , 44 , Child verifier-Worker
11:26:01.341 AM 29/5/2012 , Info , Internal Player about to play 18 - Law and Disorder (1) ,  , 57 , Worker thread for Play Action
11:26:01.348 AM 29/5/2012 , Verbose , *** TRAKT *** Checking if playable has MediaItems ,  , 57 , Worker thread for Play Action
11:26:01.356 AM 29/5/2012 , Verbose , *** TRAKT *** retrieving first MediaItem ,  , 57 , Worker thread for Play Action
11:26:01.356 AM 29/5/2012 , Verbose , *** TRAKT *** Checking if MediaItem is monitored by trakt ,  , 57 , Worker thread for Play Action
11:26:01.356 AM 29/5/2012 , Verbose , *** TRAKT *** Detaching Playstate Event Listener ,  , 57 , Worker thread for Play Action
11:26:01.356 AM 29/5/2012 , Verbose , *** TRAKT *** Pause trakt monitoring ,  , 57 , Worker thread for Play Action
11:26:01.356 AM 29/5/2012 , Verbose , *** TRAKT *** Attach playable event handlers ,  , 57 , Worker thread for Play Action
11:26:01.364 AM 29/5/2012 , Verbose , *** TRAKT *** playable event handlers successfuly attached ,  , 57 , Worker thread for Play Action
11:26:01.380 AM 29/5/2012 , Info , *** TRAKT *** POST: {"username":"CBers",,"password":"[Password Hidden]",,"imdb_id":null,,"tvdb_id":"78310",,"title":"CSI: Miami",,"year":2012,,"season":10,,"episode":18,,"duration":41,,"plugin_version":"0.9.6.31",,"media_center_version":"2.6.0.0",,"media_center_date":"June 1,, 2012"} ,  , 55 , Worker thread for TRAKT: Wathing Item
11:26:01.388 AM 29/5/2012 , Info , Internal Player playing 18 - Law and Disorder (1) ,  , 57 , Worker thread for Play Action
11:26:01.411 AM 29/5/2012 , Verbose , Calling MediaCenterEnvironment.PlayMedia ,  , 1 , Application
11:26:01.958 AM 29/5/2012 , Verbose , *** TRAKT *** {"status":"success",,"message":"watching CSI: Miami 10x18",,"show":{"title":"CSI: Miami",,"year":"2002",,"imdb_id":"tt0313043",,"tvdb_id":"78310"},,"season":10,,"episode":{"number":18,,"title":"Law and Disorder (1)"},,"facebook":false,,"twitter":false,,"tumblr":false} ,  , 55 , Worker thread for TRAKT: Wathing Item
11:26:02.255 AM 29/5/2012 , Verbose , GetMediaExperienceUsingReflection was successful ,  , 1 , Application
11:26:02.341 AM 29/5/2012 , Verbose , Going fullscreen ,  , 1 , Application
11:26:02.388 AM 29/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
11:26:03.497 AM 29/5/2012 , Verbose , HandlePropertyChange has recognized that playback has started ,  , 1 , Application
11:26:03.575 AM 29/5/2012 , Verbose , Setting now playing status to True ,  , 1 , Application
11:26:03.575 AM 29/5/2012 , Verbose , Playstate changed to Playing for 18 - Law and Disorder (1),, PositionTicks:0,, Playlist Index:0 ,  , 1 , Application
11:26:03.575 AM 29/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
11:26:06.015 AM 29/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
11:26:06.204 AM 29/5/2012 , Verbose , MediaCenterEnvironment_PropertyChanged: MediaExperience ,  , 1 , Application
11:26:06.468 AM 29/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
11:26:06.486 AM 29/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
11:26:06.498 AM 29/5/2012 , Verbose , MediaTransport_PropertyChanged: Position ,  , 1 , Application
11:26:06.499 AM 29/5/2012 , Verbose , Playstate saved for 18 - Law and Disorder (1) at 00:00:00,, duration: 00:41:44.9217083,, playlist position: 0 ,  , 5 , Worker thread for BasePlaybackController OnProgress
 
 
  • Created:12 months ago

Rating dialog popped up for me just fine last night. Looks good, and a great reminder for me to rate things. Nicely done.

 
 
  • Created:12 months ago

cool rating dialog red, working well.

 
 
  • Created:12 months ago
 
 
  • Created:12 months ago

Great idea for a plug-in, but I’ve had Trakt installed for over a week and tonight was the first time I’ve actually seen the rating box appear at the end of a movie. Actually, it didn’t appear at first (I hit back or pause, then back at the start of the end credits), so I investigated and it seems one has to watch the whole movie (or FFWD) right to the end of the final credits for the rating box to appear. Who watches a movie right to the final frame??? Might make sense that the rating box is also shown if playback ends within a percentage of the movie end (e.g. 5% or something).

It was nice to see the rating box appear, but I found it one of, if not the most confusing UI’s I’ve seen in MB. It wasn’t clear when the text input box had focus, I didn’t seem to be able to edit the text I’d already entered after leaving the input box – out of frustration, I switched to an Xbox controller with a chatpad keyboard attached, but still found the editing awful to control – e.g. cursor back/forward etc. I didn’t press B or Backup, but the box disappeared. I had no option at this point – no rating from me then.

The 2 pre-filled buttons for like/dislike (“Ninja” or “something else suggesting rubbish”, I think) are a little too extreme for general use. Why not a star rating system or a score out of 10 etc? There are few movies one would score as 10/10 or 1/10 (or maybe 0/10), which I presume is what the Ninja and Naff buttons represent.

It would be fantastic to have access to community ratings for media, but if my experience is typical, few folks will see the rating popup (because they bit back or stop before the final credits frame). Even fewer will manage to submit a rating.

The following is a list of random thoughts that came up in our home whilst checking out Trakt:

  • Much of the terminology used in the configurator popup window to configure the Trakt plugin is bewildering and unlike any other plugin. Almost like a whole new set of conventions have been invented.
  • Why is the Trakt Locations panel always visible, no matter what tab is selected? Looks like it should be a tab itself.
  • Surely Trakt Locations should be “Trakt Collections” – MBTV has beautifully consistent use of terminology and, IMHO, would be a great set of conventions to use everywhere.
  • “Re-Scan Library” – what does this do? Update the list of collections, or read Trakt ratings I’ve submitted previously? Is it something I’ll ever need to do?
  • “Update watched status FROM trakt.tv on next launch” What??? Surely that’s the whole point of Trakt, why have an option not to sync? If it has to be there, is it the most important thing on the tab? If not, might be good to drop it lower down.
  • “Clear ‘seen’ status from trakt.tv” – does this mean clear all my seen statuses from trakt.tv? Is that common?
  • “Show rating dialog after media watched” – surely the whole point of trakt is to collect ratings? One of the most important items on the tab, I’d suggest, so maybe move up to the top. And pre-check as default?
  • “Show Trakt Home folder” – should surely be “Show on EHS”? It’s confusing language I’ve not encountered elsewhere. And probably one of the most important items on the tab, yet shown almost as an afterthought right at the bottom. Another candidate for pre-checking as default – right after installation.

I love the concept, but the experience right now leaves me cold and confused.

Hope you find this feedback constructive and helpful. As always, thoughts from other community folk on my ramblings very welcome – a thumbs down is as good as a thumbs up!!! If I’m wrong, please tell me. Could be some of the above is just that I’m not properly understanding Trakt?

Look forward to hopefully seeing some of the above addressed in a future release.

 
  • I also just noticed Trakt is available on the popup context menu (* key) – which is cool. Plenty of screen space available for rating a movie, but just the Ninja and Naff options are available. No ability to enter a comment/description – just awesome movie, or pants movie. I presume this is just limited functionality for the beta? – leedavies 12 months ago
 
  • Created:12 months ago

I just whipped up an EHS tile icon/thumb for Trakt. Feel free to use if you like:

alt text

 
  • I should have mentioned in the above image post that it would be nice if enabling Trakt on the EHS had a default tile image that was shown, rather than the current “missing image” placeholder. – leedavies 12 months ago
  • That image is nicer than what I’m using. I’ve been toying with the idea of adding the entry to the users IBN structure, with a default image. – Redshirt 12 months ago
  • Your’s if you want it sir. Shout if you want the original PSD. My JPG just sits in IBN\General\Trakt – leedavies 12 months ago
 
  • Created:12 months ago

There are a lot of valid points there. Let me see if I can address them all.

I only show the rating dialogue if MB tells me the movie has been watched. For that to happen, a user has to watch a movie/show past the maximum resume % declared in the display/playback tab of the configurator. I have found this to work exactly as intended with the internal player. If the user is watching stuff with an external player that doesn’t report progress to MB, the rating dialogue will show regardless of how far they’ve watched.

I’ve already declared in my Original Post at the top that the text area is a mess. I’m still fully intending to clean that up. I’m just finding it hard to find the time between finishing this plugin, follw.it and gamebrowser.

The ‘Totally Ninja’ ‘Weak Sauce :(’ buttons are what the trakt.tv site uses, I certainly can’t take credit for that silliness. It’s only in the last little while that the site has allowed users to choose between the two extremes and a 10 star rating system. The initial release of my plugin will use the two buttons that are already present. I will support the other system in a 1.1 or 1.2 release that will follow shortly after the 1.0 release.

Just a side-note. I’m not a professional programmer, I’m a plumber who does this on his spare time. If you knew how alien MCML was, your be amazed I got the dialogue to show at all :)

and regarding the random thoughts.

Trakt Locations panel visible
Agreed, it’ll be changed for the next beta release.

Trakt Collections
Collections sounds better. I’m willing to change it.

Re-Scan Library
When a user launches trakt for the first time, all there media is added to the site and a DateTime is recorded in the config file. A timer fires periodically and checks the library for items that have been added since the time recorded in the config. Once done it updates the DateTime. The purpose of Re-Scan library was to send EVERYTHING in the users library to trakt, not just stuff deemed new. I put it there in case, for whatever reason, the users library didn’t match the site. This was helpful in the earliest builds of trakt because at the time MB didn’t store IMDB Id’s in the movie object (ebr added it for me several months ago) so I basically had to use a ouija board to determine the movie id to send to Trakt. I could and maybe should, remove this from the UI and leave it in the options as a semi-hidden feature.

Update watched status FROM trakt.tv on next launch
This option is intended to go thought the users entire library and set watched/unwatched everything that’s in a “Trakt Collection” using Trakt.tv’s values and disregarding the local values. Similar to how I mentioned above… Under normal usage a timer fires and the plugin requests everything that’s been watched since the last recorded DateTime. So this option was put in place in case things again got out of sync.

Clear ‘Seen’ status from trakt.tv
Seen is different from Watched and I feel it is a stupid construct put in place by the trakt.tv team. I can’t be bothered explaining what it is, I’m happy to remove that entirely

Show rating dialog after media watched
Agreed

Show Trakt Home folder
Agreed, and agreed.

Thanks for the feedback.

 
  • You’re very welcome buddy. Exciting times with all this cool development going on. Opening up the social side of things is a huge step forwards – you’re doing a grand job. And seriously, if I tried turning my hand to plumbing, I suspect things would be a tad on the soggy side. Kudos to you for stepping into the development world in your free time. :–) – leedavies 12 months ago
1 2