Tracks with numbers prefix not indexed.

Read 10773 times
Hey Steve.

Just a heads up...i'm using the latest build (the update from yesterday i believe) and found out that tracks with numbers prefix..like this -> "02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3"

Do not get indexed until i rename them and remove the numbers. this is a random issue but pretty constant..i have every now and then a file with numbers that gets indexed...

Just to let ya know..
Do not get indexed until i rename them and remove the numbers.
I can't seem to reproduce this, even using the exact same filename you provided:

Code: [Select]
ccstaging4:/usr/local/centovacast/var/vhosts/sc2test3/var/spool/media# mv "Shinedown - Adrenaline.mp3" "02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3"
ccstaging4:/usr/local/centovacast/var/vhosts/sc2test3/var/spool/media# ll
total 37688
-rwxr--r-- 1 root   root   8361078 Aug  3 13:03 02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3
...
ccstaging4:/usr/local/centovacast/var/vhosts/sc2test3/var/spool/media# /usr/local/centovacast/bin/ccmanage reindex sc2test3 --debug --verbose
Enter password for sc2test3:
[INF] Updating disk usage...
[INF] Disk usage: 37
[INF] Indexing files...
[INF] Building file list...
[DBG]     Checking /usr/local/centovacast/var/vhosts/sc2test3/var/spool/media/ ...
[DBG]     Including /usr/local/centovacast/var/vhosts/sc2test3/var/spool/media/02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3 ...
...
[INF] Progress: 0%; indexing 02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3
[INF] Processing /usr/local/centovacast/var/vhosts/sc2test3/var/spool/media/02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3
[INF] Importing new track: 02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3: Shinedown - Adrenaline
[INF] Progress: 100%; indexing 02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3
[INF] Import complete, checking for removed tracks...
[INF] Checking for tracks without album data...
[INF] Searching for album covers ...
[INF] Retrieving album information for Shinedown - Adrenaline
Result: OK Tracks reindexed

Can you check and make sure that your MP3 actually contains valid ID3 tags, and that they match what you expect the track to be named?  My guess is that most likely the track *is* being imported, it's just being imported under a different artist/title than you expect.

You could also check your MySQL database for the "missing" track -- for example, you could use the query:
Code: [Select]
SELECT tracks.id,tracks.pathname,tracks.title,track_artists.name FROM tracks LEFT JOIN track_artists ON track_artists.id=tracks.artistid WHERE pathname LIKE '%lemon_and_einar_k%';

That will show you what track title and artist name has been assigned to the track by Centova Cast.  For example, on my test server that yields:
Code: [Select]
+-------+--------------------------------------------------------------+------------+-----------+
| id    | pathname                                                     | title      | name      |
+-------+--------------------------------------------------------------+------------+-----------+
| 50635 | 02 - lemon_and_einar_k-we_are_what_we_are_(original_mix).mp3 | Adrenaline | Shinedown |
+-------+--------------------------------------------------------------+------------+-----------+
1 row in set (0.06 sec)

And if you get NO results whatsoever, then you're correct in your assumption that the track is not being imported at all.