This question is answered.


Permlink Replies: 3 - Pages: 1 - Last Post: 20 Feb 26, 15:50 Last Post By: JeffTucker Threads: [ Previous | Next ]
nigel-aves

Posts: 78
Registered: 23-May-2023
Very very minor bug in music.
Posted: 19 Feb 26, 22:09
 
  Click to reply to this thread Reply
If a song contains the character " ' ", none of the songs will show up in the list.

The song that caused this was "Jumpin' Jack Flash.mp3"

As mentioned, it is a very, very minor issue.
JeffTucker

Posts: 8,189
Registered: 31-Jan-2006
Re: Very very minor bug in music.
Posted: 19 Feb 26, 22:18   in response to: nigel-aves in response to: nigel-aves
Correct
  Click to reply to this thread Reply
Works OK in my skins. ;)

In Laza's defense, hunting down those single- and double-quote replacement needs is a miserable exercise. Music tracks are particularly bad, since their file names are often littered with special characters. It's a minefield.
Laza

Posts: 1,485
Registered: 6-Sep-2005
Re: Very very minor bug in music.
Posted: 20 Feb 26, 15:29   in response to: nigel-aves in response to: nigel-aves
 
  Click to reply to this thread Reply
I used to check if my code works with apostrophes, but it's not the only way this could break the player. The players themselves often fail when they stumble upon such files.
JeffTucker

Posts: 8,189
Registered: 31-Jan-2006
Re: Very very minor bug in music.
Posted: 20 Feb 26, 15:50   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
When developing the Opus 16 skin, which is, by design, an "audio files" presenter, I ran into these kinds of problems constantly. My advice to users is contained at the bottom of this page:

https://jefftucker.jalbum.net/skins/opus16/

Simplify your file names! Image files sometimes end up with messy names, but that's always user error. Audio files, however, often come out of ripping applications with godawful names, in spite of the user's best intentions.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums