Giter Club home page Giter Club logo

last.fm-scrobbler's People

Contributors

elcreator avatar gargamelism avatar nighto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

last.fm-scrobbler's Issues

manually entered details don't validate

I had checked the "check manually entered details with last.fm before scrobbling". Now when listening to https://youtu.be/jRhGjPoNqBY , I got an error message bar saying the track was skipped and I "clicked to edit" to fix the title, but the message just reappears after a few seconds that the track was not found and was skipped from scrobbling.

The track details were correctly identified though as UFO and I edited the title to remove the parentheses, to "I'm A Loser" exactly as on last.fm.

I'm using the latest Firefox, and the NoScript addon, but disabling it on the tab didn't fix this.

Add support for now playing

While the track is playing have last.fm show what your currently listening to using Now Playing Requests

Probably should have a second countdown to initiate this, so it can be shorter than the scrobble countdown?

Feature request: Blacklist channels

Hello,

Thank you for the extension! I quite like it!

Is there a chance we could blacklist channels in the settings? For example, with the Entertainment section turned on, I see a lot of false-positives that I should be able to remove easily just by adding 5-10 YouTube channels in the settings instead of having to go to the Last.fm website and manually unscrobble them one by one.

[Feature request] Cache manually edited song informations

It would be great, if the song info i manually edit (because auto-parse is not working well on this particular track) would be cached (the key could be URL for example), so when i play it again, it will scrobble the correct values.

Scrobble Youtube songs anyway if the title contains "Full Album."

For some reason, a lot of albums have the wrong category (just saw one that was labeled as People & Blogs for some reason). An option to scrobble anyway despite the category not being whitelisted would be convenient, so you don't have to go manually scrobble it if it isn't in the correct category.

Use the new track feature on YouTube

I've noticed that YouTube nowadays has a new way of handling tracks on an album. If the upload is a complete album the uploader can put timestamps with track names in the description to make the video divided by tracks as shown in the attached pic. It would be nice to get each track individually scrobbled.

foo

Text hard to read on dark background

Thanks for the extension!
I use Youtube's dark theme which makes the black text difficult to see (background is grey). It would be nice to be able to change the text colour.

wrong category, when more metadata is available

for example on https://www.youtube.com/watch?v=LfephiFN76E
there are a bunch of translators in the metadata, and the first metadata that is provided is used as the category to check whether the video is music.
which will result in: "scrobbel skipped, {random translator name} category is not listed"
(firefox 69.0 64Bit, on windows 10)

probably the bug is in /youtube/data/scrobbler/protected.js at line 206.

Tweak how the album artist is read for unofficial music uploads.

I noticed that this script has trouble reading names from unofficial uploads. For example, https://youtu.be/y9AQYPDOCts the script tries to search for the artist "Xerf Xpec" because that's the name of the uploader, rather than Toshiki Kadomatsu. Official channels either have "Topic" in the name (automatic Youtube music uploads), or they have a badge next to their name (shows up in the html as "badges":[{"metadataBadgeRenderer":{"icon":{"iconType":"OFFICIAL_ARTIST_BADGE"},"style":"BADGE_STYLE_TYPE_VERIFIED_ARTIST","tooltip":"Official Artist Channel").

Would it be possible to adjust the script for it checks for these, and if it's not there, tries to pull the artist name from the title of the video instead?

Then again, it correctly reads the artist name in this video, so I'm not sure what's going on.
https://youtu.be/eve71DbyQ8U

Doesn't work (tries to search for artist "City Pop World"):
https://youtu.be/dQLSvvUTnYA

[Security Flaw] Your Last.FM token keys are exposed to the public

Hey, I've been checking through your repo due to the extension not working on my device and stumbled upon that your lastfm.js file has a variable called "lastfm" with what seems to be the public and secret tokens that give you access to the LastFM API.

From what I know, its not a big deal but as the saying goes, "its better to be safe than sorry".


My suggestion to fix this is making 1 (or 2) files with the keys and inputing the files into the .gitignore file.

You can just make an import with the keys (if i'm not wrong) and use them that way.

(re-gen your token too lol)

Playlists with track numbers are parsed incorrectly

Consider this example: https://www.youtube.com/watch?v=O9Dcs9U7rXM

00:00 01. Bad Company - Riptide
06:40 02. Jorge Ben & Toquinho - Carolina Carol Bela (DJ Marky & XRS Remix)
11:03 03. Shy FX - Shake It
15:04 04. Un-Cut - Midnight
19:55 05. Shimon - Hush Hush
24:06 06. Stakka & Skynet & DJ Friction - Altitude
28:23 07. Future Cut - Dainjah
33:31 08. Hatiras vs. J Majik - Spaced Invader
39:00 09. Ed Rush & Optical - Kerb Crawler
44:29 10. High Contrast - Make It Tonight
50:09 11. Q Project - Trouble
54:21 12. Digital - Gateman
59:37 13. Bad Company - Miami Flashback

We could try to ignore the initial /%d%d?\./ part.

Support compilations

For concerts or other compilations (e.g. here), track names will not appear in the video title.

However, helpful uploaders and/or commenters may include a track list (with time stamps). While detecting and parsing such lists is a bottomless pit, I think the addon should make some effort to extract the data when given in the most common formats.

Toasts aren't displayed anywhere?

I can see the Toast function that's intended to provide some logging/info but it doesn't appear to be showing on music.youtube.com.

Perhaps they could simultaneously log to the console to help debug and diagnose issues with the extension?

[feature request] Enable support for YouTube Music

Is it possible to update this plug-in to also work on music.youtube.com? It works perfectly on youtube.com, but I find that the interface on music.youtube.com is much better polished (and tailored specifically for an audio listening experience) -- would be great if this plug-in would be able to scrobble from YouTube Music.

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.