GithubHelp home page GithubHelp logo

lachlan-00 / rhythmbox-ampache-fm Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 127 KB

Rhythmbox plugin cache and sync playback with Ampache in a format compatible with last.fm

License: Other

Python 99.18% Makefile 0.82%

rhythmbox-ampache-fm's Introduction

RHYTHMBOX AMPACHE-FM

Scrobble each song played in Rhythmbox to your ampache server. Alternatively you can also just cache to a local file. Replace last.fm with your homespun alternative or record playback which can be synced later to other places/devices.

Verson 1.1.0

Start using the elapsed time of the song instead of waiting for events that aren't easily tracked.

Scrobble in a smarter way and let the server handle it!

INSTALL

To install from the terminal using make:

  make install

To install from the terminal using python (also checks dependencies!)

  python3 ./install.py

If you want to install manually, extract to the following directory:

  • $HOME/.local/share/rhythmbox/plugins/ampache-fm/

You can test python dependencies by running:

python3 -c "import depends_test; depends_test.check()"

CONFIGURE

  • Ampache URL: The URL or your ampache server
  • Ampache API Key: Your API Key! (no username and password to keep it simple)
  • Cache Location: This can be a Directory or a full file path.

When using a directory the default filename is added (ampache-fm.txt)

  • Both of these path's will cache to the same location/file.
    • /home/user/cache/ampache-fm.txt
    • /home/user/cache
  • Cache Size Limit (bytes): The size limit of your log file. (Default 10Mb)
  • Rotate Large files: Rename large files with the epoch time they are rotated
    • ampache-fm.txt -> ampache-fm1510722240.txt

USAGE & FEATURES

Direct scrobbling made possible by the python3-ampache library! [https://github.com/ampache/python3-ampache]

Did you lose internet and want to resync your play history?

In the plugin preferences select "Backfill From Cache File".

This will sync your current cache with the Ampache database that will allow you to maintain a single point of truth for my playback data.

Now you are able to completely remove yourself from external caching services keeping this information under YOUR control.

HOMEPAGE

[https://github.com/lachlan-00/ampache-fm]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.