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

    Sync from libre.fm?

    Scheduled Pinned Locked Moved
    Technical Help
    2
    2
    407
    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
        • First post
          Last post
        Powered by NodeBB | Contributors