File Name Conventions & Invisable Tracks

63 vues
Accéder directement au premier message non lu

David P.

non lue,
1 nov. 2018, 14:42:4801/11/2018
à 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

non lue,
6 avr. 2019, 01:50:4506/04/2019
à 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

non lue,
3 oct. 2019, 06:19:0403/10/2019
à 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

non lue,
16 oct. 2019, 09:54:3016/10/2019
à 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

non lue,
16 oct. 2019, 10:32:5016/10/2019
à 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

non lue,
16 oct. 2019, 10:44:4816/10/2019
à 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

non lue,
17 oct. 2019, 07:21:0917/10/2019
à 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

non lue,
27 oct. 2019, 02:12:0427/10/2019
à 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

non lue,
27 oct. 2019, 04:30:2327/10/2019
à kPlaylist
Another workaround is to put a 1x1 jpg file named cover.jpg in all problematic directories. Works so far...
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message