File Name Conventions & Invisable Tracks

63 views
Skip to first unread message

David P.

unread,
Nov 1, 2018, 2:42:48 PM11/1/18
to kPlaylist
Hello Group,

Using my moms account as I don't have gmail and needed to get this question out.  Been using Kplaylist for a number of years now but I am having an issue with naming & tracks being invisible & unable to play.

I have a number of directories that show up empty when you click on them to see the individual tracks. They all have music in them, and most tracks have at least their names & genre in  id3 tags. There is no rhyme or reason that I can figure as I have some that are multiple cd's stored in one folder were the first two work but the third of the collection doesn't. I have others that are just one CD in a folder and I can't see the tracks. Some have just the track and band name others have the track number in the file name as well. I just can't seem to find the pattern that's causing issues.

None of these play, if I select the folder VLC will try and play but after a few second will kick out a stream of error mesages for each track in the folder.  These are the only tracks that have this issue 3/4 of my collection shows up fine.


Can someone give me an idea of how to fix this and what to avoid in my naming of tracks so I can get better results in kplaylist showing them.

Thanks in advance!!!!

DP

 
here is some examples so these show up:

  /rock/Rolling Stones/Singles Collection- The London Years Disc 2/
01. Gotta Get Away - Singles Collection: The London Years Disc 2 (320 kbit 02:09 mins) 4.93 mb
02. 19th Nervous Breakdown - Singles Collection: The London Years Disc 2 (320 kbit 03:57 mins) 9.05 mb
03. Sad Day - Singles Collection: The London Years Disc 2 (320 kbit 03:01 mins) 6.91 mb
04. Paint It Black - Singles Collection: The London Years Disc 2 (320 kbit 03:45 mins) 8.59 mb
05. Stupid Girl - Singles Collection: The London Years Disc 2 (320 kbit 02:55 mins) 6.68 mb
06. Long Long While - Singles Collection: The London Years Disc 2 (320 kbit 03:00 mins) 6.87 mb


physical dir:
01 Gotta Get Away.mp3                                           
02 19th Nervous Breakdown.mp3                              
03 Sad Day.mp3   
etc..

This one shows up as empty:
  /rock/Rolling Stones/Singles Collection- The London Years Disk 1/

Same naming convention, physical dir:
01 Come On.mp3               
02 I Want To Be Loved.mp3
03 I Wanna Be Your Man.mp3
etc...

Here is a single album with hyphens & track numbers example that shows up empty:

/rock/60-70/Doobie Brothers/Greatest Hits/



Physical dir:
01 - Long Train Runnin'.mp3      
02 - China Grove.mp3              
03 - Listen to the Music.mp3    
04 - Takin' It to the Streets.mp3
etc..

Any help would be appreciated. I will be trying suggestions If I don't immediately answer it isn't because I've given up I know this forum doesn't get heavy traffic and again I'm not on my gmail account.

Thanks!!!!!!
DP








Matthias Hormann

unread,
Apr 6, 2019, 1:50:45 AM4/6/19
to kPlaylist
You might want to check:

//how many titles of one album do we need to treat as a album? Turn to zero to show all.
$cfg
['titlesperalbum'] = 0;

Also, since Kplaylist seems to heavily rely on tags, it’s advisable to have getid3 enabled:

// enable the getid3 package. getid package must reside under getid3/ under the directory
// this file exists. If it does not, please change the 'include' statement below.
$cfg
['enablegetid3'] = 1;

// where the getid3.php file exists
$cfg
['getid3include'] = 'getid3/getid3/getid3.php';

and also update it to the latest security-fixed version (I think 1.9-something).

Since Kplaylist heavily relies on ID3/Ogg/FLAC tags (and provides much better search results when [x] only id3 is checked), I also heartily recommend tagging all your files. Sometimes missing or bad tags can really corrupt stuff.

I recommend checking out MusicBrainz and their Picard tagger. Worth gold, and of course it helps when even more people help keeping this magnificient music database updated.

Korry

unread,
Oct 3, 2019, 6:19:04 AM10/3/19
to kPlaylist
Hi Matthias,

I have the same problem and have followed your advises however it did not help :( Several files simply do not show up. I have even a folder, that is being displayed empty (it contains several tracks), but when I remove one specific mp3 the rest becomes displayed. If I copy the problematic file back, everything is lost again.

Do you have any other ideas?

kind regards

korry

Matthias Hormann

unread,
Oct 16, 2019, 9:54:30 AM10/16/19
to kPlaylist
Hey Korry,

there’s on more possible issue I ran across lately: Access rights! I added a few albums to my collection and they wouldn’t show up in kplaylist. Until I found out they had access rights that wouldn’t allow the web server (www-data user, in my case) to access them and thus kPlaylist would never show them!

Doing a simple
cd ~/Music/Tagged
find
. -type d -exec chmod 755 {} \;
find
. -type f -exec chmod 664 {} \;
fixed it up nicely. The important bit is that the web server (and thus kPlaylist and getID3) get at least read access to the music.

Hope that helps.

Regards,
Matthias

Korry

unread,
Oct 16, 2019, 10:32:50 AM10/16/19
to kPlaylist
Hi Matthias,

Thanks, the permissions were the first thing I have checked and they were correct (755), oddly I have had folders with same permissions for both file and directory and some were displayed correctly, others did not. I have found an workaround. I have converted all problematic tracks with a tool called soundkonverter and then they showed up. Very strange issue,but anyway, everything is fine now. Prior to the conversion the traks were not displayed even with 777 for both file and directory.

Regards

Korry

Matthias Hormann

unread,
Oct 16, 2019, 10:44:48 AM10/16/19
to kPlaylist
Interesting … The two main reasons for kPlaylist not recognizing files are clearly badly tagged/broken files and access rights.
Good to hear that you git it repaired, though!

All the best,
Matthias

Korry

unread,
Oct 17, 2019, 7:21:09 AM10/17/19
to kPlaylist
I guess the ID3 tag were somehow not acceptable for kplaylist (but it is a shot in the dark) and got fixed during the conversion. 
Also I have found, that you may have several MP3s in one directory, but if kplaylist does not like just one of them, nothing gets displayed. For me it is strange, but I do not have dev skills to investigate.

Korry

unread,
Oct 27, 2019, 2:12:04 AM10/27/19
to kPlaylist
Well, conversion was only a temporary solution, even if it worked for ~ 2 weeks. Today I have found, that the tracks in the problematic folders are not visible in the web interface again :(

Korry

unread,
Oct 27, 2019, 4:30:23 AM10/27/19
to kPlaylist
Another workaround is to put a 1x1 jpg file named cover.jpg in all problematic directories. Works so far...
Reply all
Reply to author
Forward
0 new messages