Giter Club home page Giter Club logo

lastfm-scrobbler's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ”ฌ A CS student loves learning new stuff.

๐Ÿ’ฌ Reach out to me via email if you'd like to talk:)

android c css3 docker electron git html5 java linux matlab mysql opencv photoshop pytorch qt rails ruby

Ladbaby's github stats

Code Time

Lines of code

๐Ÿ“Š This Week I Spent My Time On

๐Ÿ’ฌ Programming Languages: 
Markdown                 5 hrs 19 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   66.26 % 
Python                   1 hr 40 mins        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   20.77 % 
Bash                     26 mins             โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   05.47 % 
Git Config               13 mins             โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   02.81 % 
Groovy                   6 mins              โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   01.26 % 

๐Ÿ”ฅ Editors: 
VS Code                  5 hrs 15 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   65.59 % 
Obsidian                 2 hrs 45 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   34.41 % 

๐Ÿ’ป Operating System: 
Windows                  5 hrs 17 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   65.89 % 
WSL                      2 hrs 44 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   34.11 % 

Last Updated on 15/08/2024 00:38:03 UTC

ladbaby

lastfm-scrobbler's People

Contributors

ladbaby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lastfm-scrobbler's Issues

Scrobbling problem - Sonixd player

I use lastfm-scrobbler with Sonixd as a player for Nextcloud Music (subsonic server implementation with no scrobbling to last.fm). Result - no errors, no scrobbles.

I disabled error exception in main loop and found the problem.
I had to modify PlayerState.py:

 def update_status(self, metadata_dict, playback_status, timestamp):
        # time length of the current song in seconds
        self.length = int(metadata_dict["mpris:length"] / 1000000)
        # image file path
        self.artUrl = str(metadata_dict["mpris:artUrl"])
        self.album = str(metadata_dict["xesam:album"])
        self.albumArtist = self.handle_multiple_artists(metadata_dict["xesam:albumArtist"])
        self.artist = self.handle_multiple_artists(metadata_dict["xesam:artist"])
        self.discNumber = int(metadata_dict["xesam:discNumber"])
#        self.firstUsed = str(metadata_dict["xesam:firstUsed"]) - error occurs here
        self.firstUsed = "2024-03-15T10:00"
        self.title = str(metadata_dict["xesam:title"])
#        self.trackNumber = int(metadata_dict["xesam:trackNumber"]) - error occurs here
        self.trackNumber = 1
#        self.url = str(metadata_dict["xesam:url"]) - error occurs here
        self.url = "/"

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.