• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sync from libre.fm?

    Scheduled Pinned Locked Moved Technical Help
    2 Posts 2 Posters 936 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      OriNOVet
      last edited by OriNOVet

      There is a plugin/way to sync stats like playcount and lastplayed from last.fm to Strawberry. Is it possible to code a similar plugin/way for libre.fm?

      Or can someone please tell me, how I can create such a plugin by myself? Is there some plugin template?

      jonasJ 1 Reply Last reply
      Reply Quote 0
      • jonasJ
        jonas @OriNOVet
        last edited by jonas

        @orinovet
        libre.fm uses a identical API, even the API key is the same. So all that needs to be done is to add a combobox where you can select between last.fm and libre.fm and it uses different config depending on which one you select, I think it's just the hostname and username that is different.
        The code is here:
        https://github.com/strawberrymusicplayer/strawberry/blob/master/src/dialogs/lastfmimportdialog.cpp
        https://github.com/strawberrymusicplayer/strawberry/blob/master/src/scrobbler/lastfmimport.cpp

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Powered by NodeBB | Contributors