Coder Social home page Coder Social logo

web-scrobbler / web-scrobbler Goto Github PK

View Code? Open in Web Editor NEW
2.4K 71.0 535.0 21.62 MB

Scrobble music all around the web!

Home Page: https://web-scrobbler.com

License: MIT License

HTML 0.33% TypeScript 95.13% Shell 0.04% SCSS 3.11% JavaScript 0.77% CSS 0.15% Swift 0.46%
lastfm librefm listenbrainz webextension chrome-extension hacktoberfest edge-addon firefox-addon safari-extension

web-scrobbler's Introduction

Web Scrobbler

Chrome Web Store Addons.mozilla.org iTunes App Store Microsoft Edge Addons

Discord Test status Codacy Badge Codacy Coverage Badge

Web Scrobbler helps online music listeners to scrobble their playback history.

Supported Services

Installation

The extension can be either downloaded from stores, or installed as an unpacked extension.

Chrome Web Store

It can be installed directly from the Chrome Web Store for Chrome users.

Opera users can install the extension from Chrome Web Store using the Download Chrome Extension addon for Opera.

Addons.mozilla.org

For those who prefer Firefox, the extension is available on Addons.mozilla.org.

Safari

The extension is also available in the Apple Store.

Microsoft Edge Add-ons

The extension is also avaiable on the Microsoft Edge Add-ons.

Install from source code

To install the extension from sources or zip file, read this page if you're on Chrome, or this one if you use Firefox.

Development

Build the extension

Before building the extension you should install dependencies:

# Install dependencies
> npm install

# Build the extension
> npm run build firefox
# or
> npm run build chrome
# or (requires Xcode (xcrun and xcodebuild))
> npm run build safari

The built extension is available in build directory. You can install it as an unpacked extension from this directory.

The detailed build instruction is available here.

Develop connectors

Check the wiki page to understand development of connectors. Please also read our contribution guidelines.

Translations

We use Transifex to maintain translations. If you want to translate the extension, follow the translations wiki page for details.

Media

Follow @web_scrobbler on Twitter to receive the latest news and updates.

Join the Discord channel to discuss the extension.

Privacy Policy

See the privacy policy.

License

Licensed under the MIT License.

web-scrobbler's People

Contributors

alexesprit avatar artlung avatar bes-internal avatar carpet-berlin avatar damienalexandre avatar david-sabata avatar dependabot-preview[bot] avatar dependabot[bot] avatar f1u77y avatar fakelbst avatar galeksandrp avatar hornbuckle avatar hugoh avatar inverse avatar j4cknife avatar jaccarmac avatar janbaykara avatar jbwharris avatar lacivert avatar mehavoid avatar paszt avatar renovate[bot] avatar reubot avatar taezstkyoht avatar tomkrall avatar transifex-integration[bot] avatar web-scrobbler-bot avatar xim avatar xyauhideto avatar yayuyokitano avatar

Stargazers

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

Watchers

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

web-scrobbler's Issues

Use metadata if available rather than pattern match

Take e.g. the song 14 Kvinner by Di Derre.

Here, the metadata on Youtube holds the artist, but it isn't in the title.

On others, like Simplesmente by Bebel Gilberto, the artist name and song name are not given in correct order. The metadata does, however, contain the artist name.

On yet others, like this other version of Simplesmente, the artist is given in a format that does not match the pattern you look for.

A possibility:

  1. Use the artist metadata. Always.
  2. If there is a case and whitespace insensitive match to the artist name in the title, and this isn't the intire title, strip it away.
  3. Use the remaining string as track title.

This can be dangerous if e.g. the artist is misspelled in the title, but not in the metadata. If 2. doesn't get a match, it may be better to revert to the pattern match + override artist name from meta.

What do you think? :)

Maybe mac specific.... Unsafe Javascript attempt to access frame

Hello again! I recently tried using the extension on the mac version of chrome. But it does not give any notification or warning that my password is incorrect. When i look in the console this error shows up.

Unsafe JavaScript attempt to access frame with URL http://www.youtube.com/watch?v=jxNJkaps7uE from frame with URL chrome-extension://fapjkciegccccojledkpnfgchdkjemec/ads.html. Domains, protocols and ports must match.

I've tried fixing it but i just don't understand. The ads.html file is from youtube i think so it's a bit weird hrmph.....

Well anyway . Hope this helped.

Amazon Cloud Player: no song is recognized

I use the Amazon Cloud Player via the "normal" URL:

https://www.amazon.com/gp/dmusic/mp3/player

The Omnibar icon of the Last.fm-Scrobbler (1.11) is shown, but no song is recognized, so I have to enter the songs information all manually.

Bandcamp scrobbling flakey

I recently listened to an album by a band called Snowmine on bandcamp, but only about 2/3rds of the album scrobbled. Today I am listening to an album by a band called Skiv and not a single song has scrobbled.

Choose sites for scrobbling

As we have many sites for scrobbling now, I think it would be useful to choose option which sites will be scrobbled, by the user.

Replay

Please support scrobbling after replay and through pressing Home button (html5 player version only I believe).

Use more convinient alert message if LFM is temporarily unavailable

reset called scrobbler.js:89
nowPlaying called for Aerosmith - I Don't Wanna Miss a Thing scrobbler.js:359
nowPlaying response:


I Don't Wanna Miss a Thing
Aerosmith




scrobbler.js:388
now playing Aerosmith - I Don't Wanna Miss a Thing scrobbler.js:394
set icon: 2 scrobbler.js:178
submit called for Aerosmith - I Don't Wanna Miss a Thing scrobbler.js:427
Failed to load resource: the server responded with a status of 503 (Temp Unavailable) http://ws.audioscrobbler.com/2.0/?method=track.scrobble&timestamp[0]=1347276599&track[0]=I%20Don't%20Wanna%20Miss%20a%20Thing&artist[0]=Aerosmith&api_key=d9bb1870d3269646f740544d9def2c95&sk=bdf774ddc32d31fea026758e96c4de84&api_sig=7724d74b4d5bcb4356e62eda2ba40f15
submit failed Aerosmith - I Don't Wanna Miss a Thing (

Error applying mutate to radb (for db 6936662 )
)

More accessible popup window

  • autofocus "artist" input
  • tab to switch to "title" input
  • enter to submit
  • (autohide on success after few seconds)

rockmelt support.

The plugin works really well on chrome. I was hoping that it'd work proper on rockmelt since it's on chromium... But well it doesn't. If it'd work rockmelt then it'd be awesome! :D

Correct title on Youtube

Just like if it can't figure out the title we can write it ourselves, when it gets the wrong data we would be able to correct it.
And possibly store this information in a local database based on video ID?

Amazon cloud player - track scrobbled even if paused

Hi. I would characterize this as minor, but just fyi I noticed that if I pause a track before scrobbling is complete and leave it paused, a few minutes later I get the popup notifying me that the track was scrobbled.

This is the 1.11 plugin with Amazon cloud player on Google Chrome on Ubuntu.

Custom blacklist

Make option to make a black list of words so much more songs will be identified.
I'm talking about abillity to let words like "-lyrics", "-live " ("-" all the text before it is vissible for scrobbler, and "" is opposite) , "-cover" be invissible for scrobbler.

(via L.FM private message by n3L1)

Google Play (ex-Google Music) not working

Hi,

Google just updated Google Music (and other services, such as Android Market) to their new platform, Google Play. Currently the scrobbling is not working.

Thanks in advance!

how do i authorize the scrobbler with last.fm?!

I downloaded the scrobbler, it is now listed as enabled in my extensions, but there is no where for me to authorize it or add it to my connections on last.fm. none of my music is being scrobbled from anywhere

SSL Youtube

The extension doesn't work with SSL Youtube.

option for deleting all text at brackes

Many youtube channels add [channel name] or (remix) tags to videoclip name.

Please add flags at plugin options for deleting all text at [] and () brackets with it.
Is should proceed before standart last,fm autocorrect.

Love track on L.FM

Maybe it could be nice if we would like a track by clicking the icon on omnibox, or some other way.

Songs played via a playlist are not scrobbled....

(Sorry, I accidentally closed this issue when adding a comment)
When viewing a users's channel, and playing music via their playlists, songs do not appear to be scrobbled:

An example of a playlist that is not scrobbled:
http://www.youtube.com/user/rpoland?blend=1&ob=4#p/c/2B29A5117FA2B389/0/hIh5MCC7b3E

I haven't had a chance to investigate the source of your extension yet, but if it helps you in debugging at all, the div that holds the title has an id of ""playnav-curvideo-title".

amazon.de cloud player

There's a brand new version of Amazon's cloud player on their amazon.de domain. I have tried to simply modify the URL match in manifest.json, but that would have been too easy.

Ampersand '&' in Artist string prevents Amazon cloud player scrobble

Great plugin! However, I notice what appears to be a bug with Amazon Cloud Player scrobbling. If the artist name has an ampersand '&' in it, scrobbling simply does not happen. No popup toast window, no scrobbling, no indication of an error. I finally noticed this is only happening for artists with an ampersand in the name. I am using Google Chrome on Ubuntu Linux.

I suspect the artist (and probably all) strings need to be URL encoded before being submitted.

For example, one of the artists exhibiting this behavior is Gene Krupa & His Orchestra. I noticed in the Chrome console the line:

submitting a now playing request. artist: Gene Krupa & His Orchestra, title: How High The Moon, duration: 227 

I suspect the artist name needs to be URL-encoded. Probably the track name, too, and all other strings that could possibly have reserved characters. So this artist should be:

Gene+Krupa+%26+His+Orchestra

As a test, I changed the track info in Cloud Player to "Gene Krupa and His Orchestra", and then scrobbling worked.

youtube error

youtube scrobble at v1.6 not running now. Maybe youtube change some codes.

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.