[mythtv-users] Can't access my Mp3 collection

Andrew Davis andrew at nccomp.com
Thu Sep 28 20:33:20 UTC 2006


Hmmm... I'm trying to track this down and can't figure it out...

I'm running 0.20 from ATRPMS following the guide at wilsonet.com...

I created /data/mp3s (note: I also have a /data/dvds which has all my 
ripped .avi's and Myth can access it just fine...). I copied my entire 
mp3 collection over, then set permissions on it. As you can see below, I 
started at / (root) and showed the permissions all the way into a 
directory of music that contains actual mp3's. All dir's have "x" 
permissions for traversal. All dirs and files are owned by mythtv and 
have at least read permissions:

[root at emperor other]# cd /
[root at emperor /]# ls -alsd data
4 drwxrwxrwx 6 mythtv root 4096 Sep 26 14:20 data
[root at emperor /]# cd data/
[root at emperor data]# ls -alsd mp3s/
4 drwxrwxrwx 16 mythtv mythtv 4096 Sep 26 15:17 mp3s/
[root at emperor data]# cd mp3s/
[root at emperor mp3s]# ls -alsd *
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:09 Alessandro_Safina
4 drw-r--r-- 9 mythtv mythtv 4096 Sep 26 15:33 Christian
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:09 Collective_Soul
4 drw-r--r-- 5 mythtv mythtv 4096 Aug  4 10:09 Creed
4 drw-r--r-- 4 mythtv mythtv 4096 Sep 26 15:33 Enya
4 drw-r--r-- 2 mythtv mythtv 4096 Aug 31 13:52 Evanescence
4 drw-r--r-- 2 mythtv mythtv 4096 Sep 26 15:33 Gladiator_Soundtrack
4 drw-r--r-- 2 mythtv mythtv 4096 Aug  4 10:10 License Backup
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:10 Lifehouse
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:10 Moby
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:09 Scott Stapp
4 drw-r--r-- 2 mythtv mythtv 4096 Aug  4 10:09 
The_Last_of_the_Mohicans_Soundtrack
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:09 Third Day
4 drw-r--r-- 3 mythtv mythtv 4096 Aug  4 10:09 Various Artists
[root at emperor mp3s]# cd Enya/
[root at emperor Enya]# ls -alsd *
4 drw-r--r-- 2 mythtv mythtv 4096 Sep 26 15:33 
Paint_The_Sky_With_Stars_The_Best_Of_Enya
4 drw-r--r-- 2 mythtv mythtv 4096 Aug  4 10:10 Shepherd_Moons
[root at emperor Enya]# cd Shepherd_Moons/
[root at emperor Shepherd_Moons]# ls -als *
5308 -rw-r--r-- 1 mythtv mythtv 5421780 Jun 21  2004 01_Shepherd_Moons.mp3
5628 -rw-r--r-- 1 mythtv mythtv 5747788 Jun 21  2004 02_Carribean_Blue.mp3
6240 -rw-r--r-- 1 mythtv mythtv 6374100 Jun 21  2004 
03_How_Can_I_Keep_From_Singing.mp3
1776 -rw-r--r-- 1 mythtv mythtv 1812226 Jun 21  2004 04_Ebudae.mp3
1464 -rw-r--r-- 1 mythtv mythtv 1494238 Jun 21  2004 05_Angeles.mp3
1240 -rw-r--r-- 1 mythtv mythtv 1265078 Jun 22  2004 
06_No_Holly_For_Miss_Quinn.mp3
4128 -rw-r--r-- 1 mythtv mythtv 4221192 Jun 21  2004 07_Book_Of_Days.mp3
5416 -rw-r--r-- 1 mythtv mythtv 5532492 Jun 21  2004 08_Evacuee.mp3
2996 -rw-r--r-- 1 mythtv mythtv 3061982 Jun 21  2004 09_Lothlorien.mp3
3520 -rw-r--r-- 1 mythtv mythtv 3596990 Jun 21  2004 10_Marble_Halls.mp3
3224 -rw-r--r-- 1 mythtv mythtv 3294974 Jun 21  2004 11_After_Ventus.mp3
2864 -rw-r--r-- 1 mythtv mythtv 2927362 Jun 21  2004 12_Smaointe.mp3

 From within Myth, if I go to Utilities/Setup -> Setup -> Media Settings 
-> Music Settings -> General Settings... the "Directory to hold music" 
is set to /data/mp3s, "Audio Device" is default, "Tree Sorting" is 
"directory" and "Filename Format" is GENRE/ARTIST/ALBUM/TRACK_TITLE. I 
didn't see any other options in this area that appear it could affect 
browsing my existing songs.

Now, in Utilities/Setup -> Music Tools if I try to "Scan for New Music" 
when I click it, I get a small popup that goes away before I can read it 
(about 10 milliseconds) then I'm back to the page. If I go back to the 
shell that I started mythfrontend from, I see:

"metadata.o: You don't seem to have any tracks. That's ok with me if 
it's ok with you."

The reference to "tracks" makes me think its scanning the CD drive which 
happens to *not* have a music CD in it, though this could be a poor 
assumption on my part if the developers also think of mp3 files as 
"tracks". Nonetheless, it doesn't seem to be scanning my music 
collection on the disk. Any reason why not? Its not permissions that I 
can see, though I've noted that ripped DVDs (ripped via Myth that is) 
are owned by root with 644 permissions, so perhaps the mp3's should be 
the same? I also notice I have a lot of songs/dirs with white-spaces in 
them. I could imagine this being a problem, but would prefer to know for 
sure before removing them in every single song/file.



Andrew Davis wrote:
> That is exactly the message I get... the whole:
>
> "metadata.o: You don't seem to have any tracks. That's ok with me if
> it's ok with you."
>
> Though it also appears to be scanning the CD/DVD drive for tracks to 
> play. I'm running .20 though, not .19. You noted this was an issue with 
> 0.19... was there a workaround or patch?
>
> I'll double-check paths and permissions tomorrow. I thought I was doing 
> everything right, but also thought I might be missing something obvious.
>
> Dewey Smolka wrote:
>   
>>> I just copied my entire MP3 collection into /data/mp3s on my Myth box.
>>> There's a folder hierarchy of artist->album->song.
>>>
>>> I've updated the "Directory to hold music" to /data/mp3s and confirmed
>>> the mythtv user can fully traverse this path and all sub-dirs at a
>>> shell. However, I don't seem to be able to add the songs to a playlist,
>>> etc. If I go into Music Tools->Scan for new music, it flashes for a
>>> second, then just returns to the same screen.
>>>       
>> Hmmm. You seem to be doing everything you should be doing.
>>
>> If the scan fails to find anything, it should give you a message like:
>> "metadata.o: You don't seem to have any tracks. That's ok with me if
>> it's ok with you." (this is on 0.19 -- don't know if it's changed in
>> .20)
>>
>> First, double check that you haven't incorrectly entered your music
>> directory in the setup -- eg data/mp3 or /data/Mp3.
>>
>> Second, just for kicks, run:
>>
>> #chown -R mythtv /data/mp3  -- (assuming mythtv is your mythtv user)
>>
>> and scan again.
>>
>>
>>     
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>   


More information about the mythtv-users mailing list