Add rudimentary error handling of title #11

Merged
dsc merged 1 commits from scoobybejesus/ircradio:title into master 6 months ago

When a title contains a dash "-" already, it is likely to be the title as you intend to save it, which is "${artist} - ${title}".

It is also true that when a title does not contain a dash, the title is likely to not be in that form.

This change will create a title of "${artist} - ${title}" if there is no dash present in the title already.

When a title contains a dash "`-`" already, it is likely to be the title as you intend to save it, which is "`${artist} - ${title}`". It is also true that when a title does **not** contain a dash, the title is likely to not be in that form. This change will create a title of `"${artist} - ${title}"` if there is no dash present in the title already.
scoobybejesus added 1 commit 6 months ago
dsc merged commit 2045da9778 into master 6 months ago
The pull request has been merged as 2045da9778.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: dsc/ircradio#11
Loading…
There is no content yet.