Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to scrobble %COMMENT% the mp3tag too? #2

Open
gitgetgot opened this issue Jul 6, 2017 · 0 comments
Open

How to scrobble %COMMENT% the mp3tag too? #2

gitgetgot opened this issue Jul 6, 2017 · 0 comments

Comments

@gitgetgot
Copy link

gitgetgot commented Jul 6, 2017

Hello,
I have a lot of "Remixed" Information stored in the %COMMENT%-tag of my mp3files.
Unfortunately they will not be scrobbled.

Songs like:

-Good Song (Remix by foo)
-Good Song (Long Version)
-Good Song (Version Englaise)
-Good Song (Take 3, Alternative)

will all be scrobbled as:

-Good Song

which is kinda sad to me.

I took a look at scrobbler.php

could it be possible to enhance the piece of code in the first few lines to something like that:

public static function scrobbleTrack($artist, $title. $comment) {
    $_synoNas = "http://localhost:3000"; 
    $url = sprintf("%s/scrobbles/q?artist=%s&title=%s&comment=%s", 
      $_synoNas, 
      urlencode($artist), 
      urlencode($title)
      urlencode($comment)
    );

Just adding $comment after $title ?

Will it work, or does it need more complex thinking than that?

Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant