Colin Powell 1ec4333856 Add fallback duration tracking for Mopidy
Unlike Jellyfin, Mopidy's webhook only gives us a start and stopped call
to determine when a track should be scrobbled.  This means we don't have
continous updating of playback ticks.

This commit adds a fallback when ticks are not there to use the track
duration and time since the scrobble was created. That said, this is not
perfect. If you pause the track and start again, the progress will get
very out of whack. But thankfully, Mopidy only sends us audio, and it's
rare that audio tracks are paused repeatedly and started again before
finishing a scrobble. So hopefully this shouldn't happen very often.
2023-01-08 14:09:18 -05:00
2023-01-04 17:55:18 -05:00
2023-01-05 14:39:47 -05:00
2023-01-04 17:55:18 -05:00
2023-01-08 02:52:12 -05:00
2023-01-05 14:45:02 -05:00
2023-01-05 14:45:02 -05:00

Readme

Vrobbler is a pretty simple Django-powered web app for scrobbling video plays from you favorite Jellyfin installation.

At the most basic level, you should be able to run `pip install vrobbler` to the latest version from pypi.org.

Then configure a handful of options in your vrobbler.conf files, which can live in etc or usr/local/etc depending on your configuration.

You can checkout the `scrobbler.conf.example` file in the source for this project, or refer to the following guide:

``` VROBBLER_DEBUG=True VROBBLER_JSON_LOGGING=True VROBBLER_LOG_LEVEL="DEBUG" VROBBLER_MEDIA_ROOT = "media" VROBBLER_TMDB_API_KEY = "<key>" VROBBLER_KEEP_DETAILED_SCROBBLE_LOGS=True VROBBLER_DATABASE_URL="postgres://vrobbler:<pass>@db.service:5432/vrobbler" VROBBLER_REDIS_URL="redis://:<pass>@cache.service:6379/0" ```

Description
No description provided
Readme 20 MiB
Languages
Python 86.9%
HTML 13%