Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch queue #94

Merged
merged 2 commits into from Apr 11, 2013
Merged

Dispatch queue #94

merged 2 commits into from Apr 11, 2013

Commits on Apr 9, 2013

  1. Add simulate scrobble setting

    Add simulate scrobble setting for testing.
    nate1280 committed Apr 9, 2013
    Copy the full SHA
    856227a View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2013

  1. Implement queue for dispatch events

    Implement queue for dispatch events, should resolve race conditions that can occur.
    Dispatch queue is acted upon every cycle and cleared.
    Add check for xbmc playing video when doing update() from service thread.
    Remove old check for switching videos in a playlist in scrobbler class.
    Small change to rating check, perform the setting check before anything else.
    Change how updating time is handled, only update if the current playlist index is the same as what was seen when playback started.
    In traktPlayer, save playlist index in onPlayBackStarted to variable.
    In traktPlayer, onPlayBackStarted, check current playlist index to saved index if playlist length is greater then 1, if it is, fire an onPlayBackEnded event.
    Add some more debug lines to help in testing playlist playback.
    nate1280 committed Apr 10, 2013
    Copy the full SHA
    a09d638 View commit details
    Browse the repository at this point in the history