playdar-core icon indicating copy to clipboard operation
playdar-core copied to clipboard

unable to resolve distinct tracks with same track titles

Open lucasgonze opened this issue 15 years ago • 1 comments
trafficstars

http://musicbrainz.org/release/9baf31dd-c8c8-46a8-9faa-3a4976bde057.html has two tracks by the same artist with the same name in the same release. Playdar isn't able to play this album because it can't distinguish between these tracks. This situation will happen frequently in albums that have multiple versions of the same song.

A way to fix this is to pass the track num and duration into the resolver.

The arguments going from the client to the resolver are pure json, meaning that you can pass whatever you want. You can pass trackNum and duration as part of the request if you want, though no resolvers currently use them.

Resolver developers are going to use the sample resolver as their model, so it could stand to have those added as arguments. That's http://github.com/RJ/playdar-core/blob/master/contrib/demo-script/demo-resolver.php. Also the example request at http://www.playdar.org/api.html might have them added.

To get the bug fixed in this source page on Musicbrainz, Playdar.js and the local resolver would also have to be updated.

lucasgonze avatar Dec 11 '09 00:12 lucasgonze

scanner would have to be updated to save this metadata too

lucasgonze avatar Dec 11 '09 00:12 lucasgonze