Comments (9)
I can confirm it doesn't work for me as well for both Linux (Arch and OpenSuse) on Firefox and Vivaldi.
But also doesn't work on Windows as well for same browsers:
Music is playing but still cannot recognize it:
Tried restarting the browser, reinstalling the extension, logging out and in again from Last.Fm and still nothing works.
from web-scrobbler.
Can confirm the same error on macOS + Firefox.
from web-scrobbler.
Have the same problem too on Windows 11 and Firefox
from web-scrobbler.
on Windows 10 + Firefox same problem, Windows 11 + Firefox same, Manjaro Linux + Firefox the same
from web-scrobbler.
Probably related to #4587. Works fine for me on Windows/Google Chrome + Chrome desktop PWA. The rework made the connector use the javascript api for playing media, is your browser correctly detecting the music?
from web-scrobbler.
I see information in navigator.mediaSession.metadata
while playing so it does seem to exist
though weirdly it's null if I set a breakpoint in the connector code, is that running in a different context?
from web-scrobbler.
Oddly enough, this is working fine for me in Microsoft Edge only (Windows 10 and Windows 11) using the plugin version from the Edge Add-ons site. The other browsers I've tested (firefox, chrome, vivaldi) using the Mozilla or Chrome Web Store versions are reporting errors. The extension can submit now playing information but does not scrobble and reports a general error (!) from the extension.
Using the latest build artifact (Windows 11, Chrome/Vivaldi) listens/scrobbles correctly the first time. Now playing data is sent correctly and shown in the extension, but subsequent scrobbles/listens are "errored" in the cache. Selecting errors from cache and using the scrobble button does not work and deletes them from the cache.
from web-scrobbler.
Maybe related, but I get a "The track is not recognized" notification for every song, but it detects just fine on Google Chrome.
from web-scrobbler.
I did some testing and discovered, that the navigator
Object that the extension accesses is not the same that the page accesses in Firefox.
I tried setting the navigator.mediaSession
myself to debug, when setting it and then setting
track = navigator.mediaSession.metadata?.title
, the extention show's what I have set, while the browser console still shows the song currently playing.
Even after removing the code that sets the mediaSession
, it stayed as what I had set while the console on the page always showed the currently playing song.
It seems the extention gets it's own navigator
Object from Firefox and cannot access the navigator the page uses, causeing the extention to be unable to detect anything on Firefox with the current implementation.
I suggest using selector classes like before #4587 since the version before still works or accessing the navigator object through an injected script
from web-scrobbler.
Related Issues (20)
- Webscrobbler doesn't react on love/unlove of Spotify
- New connector for Nina Protocol HOT 2
- Slider.kz connector request HOT 1
- https://viewtube.io support scrobbling
- Need fix for not scrobbling tracks in private playlist on Soundcloud HOT 1
- Put extension version on the "About" tab page
- DASH Radio is now LITT Live
- LAST.FM HOT 2
- Audiomack not being recognised
- Bandcamp HOT 1
- Connector page improvement suggestions
- Scrobbling doesnt work on Youtube Music HOT 2
- "The track is not recognized" notification very trigger-happy
- Won't scrobble music playing in WinAmp on the Internet Archive
- CJTM Radio - 1280 AM Toronto HOT 3
- New connector request: TuneGenie
- "song BY artist" in playlist not parsed
- Watch2Gether / w2g.tv is not working anymore (Last.fm)
- Spotify (the one that is free on mobile) connector for Firefox Nightly?
- Scrobbler treats different links to the same track as different tracks on SoundCloud (edits)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-scrobbler.