Amahitunes not showing media

User avatar
salocinbake
Posts: 53
Joined: Sun Dec 14, 2008 6:31 pm
Location: Niagara Falls

Amahitunes not showing media

Postby salocinbake » Wed Jan 07, 2009 8:44 pm

I installed a second drive on my HDA. I migrated my music library onto it. I mounted the drive at: /var/hda2

I can see my music with normal user with zina, or network share but with Amahitunes, no songs.

I did edit /etc/mt-daapd.conf to point toward the right folder.

Maybe a owner issue? Or it must be in /var/hda/files/music?


web_root /usr/share/mt-daapd/admin-root
port 3689
admin_pw mt-daapd
db_dir /var/cache/mt-daapd
mp3_dir var/hda2/music
servername AmahiTunes
runas mt-daapd
extensions .mp3,.m4a,.m4p,.ogg,.flac
logfile /var/log/mt-daapd.log
rescan_interval 600
scan_type 1

Image
My HDA: Pentium dual cpu E2200 @2.2GHz 4GB of Ram, 1T+1,5T hard drive.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahitunes not showing media

Postby cpg » Wed Jan 07, 2009 10:29 pm

hmmm, not configurable. bad amahitunes!

the location of the dir is in a constant called MUSIC_DIR at the top of this file:

Code: Select all

/var/hda/platform/html/app/controllers/hda_app_amahitunes_controller.rb
sorry.

we need to get more developers interested to take ownership of these demo apps!

it would be a good opportunity to learn about ruby and ruby on rails!

anyone? ;)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

gordhynes
Posts: 23
Joined: Mon Jan 12, 2009 10:51 pm

Re: Amahitunes not showing media

Postby gordhynes » Sat Jan 17, 2009 11:29 am

I did the same - moved music to a different hard drive... had to change the mount point in the hda config window... and add symbolic links in /var/hda/files that point to the new share points. I haven't rebooted yet, and so I'm not sure if I'll have to recreate these each time... though I did put the two lines (I added two drives, moved two mount points)

ln -sf /media/disk/music /var/hda/files/music
ln -sf /media/disk2/pictures /var/hda/files/pictures


This did work for me, my pictures now show within piclens (though I find it kinda slow to load)

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahitunes not showing media

Postby cpg » Sat Jan 17, 2009 12:48 pm

hi gordhynes!

the first time is slow, as the thumbnails are being cached. the cache of the thumbail is determined by the full pathname of the file, so you are probably right that it's slower and probably this is the reason!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
relrobber
Posts: 72
Joined: Wed Dec 17, 2008 10:01 pm
Location: Searcy, AR
Contact:

Re: Amahitunes not showing media

Postby relrobber » Sat Jan 17, 2009 7:54 pm

i know i've mentioned this several times in the forum, but y not just mount the new drive in the existing music folder location? that way you don't have to change any settings. the only issue would be copying any existing music in the folder to the new drive.
Home HDA: Sony VAIO PCV-RX560, 1.7GHz P4, 320MB RAM

Managed HDA: 512MB RAM

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahitunes not showing media

Postby cpg » Sat Jan 17, 2009 11:53 pm

i agree. in practice, i have a whole separate disk in

Code: Select all

/var/hda/files
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 14 guests