Fix metadata extraction from the title
Closed this issue · 4 comments
swapnilraj commented
The current way of extracting the artist name and the song title do not account for the the fact that the song title can have dashes in it.
Example Kasabian - Re-wired, with the current approach the the metadata object looks like :-
{
artist: 'Kasabian - Re',
title: 'wired',
}
swapnilraj commented
I have a proposal for fixing this issue, would appreciate your comments/thoughts @JorikSchellekens.
JorikSchellekens commented
I've left some comments on the Gist. Small edits to the proposal but basically the second solution seems the best.
JorikSchellekens commented
Will you PR?
swapnilraj commented
Yeah I have the PR ready I'll just polish it a bit.