Not seeing any songs

kermtfrg
Posts: 14
Joined: Wed Nov 03, 2010 10:03 am

Not seeing any songs

Postby kermtfrg » Thu Nov 04, 2010 6:41 pm

I installed Amahitunes a few days ago and still don't see any songs. The log shows the following:

Code: Select all

2010-11-03 18:27:04: Starting rendezvous daemon 2010-11-03 18:27:04: Client running 2010-11-03 18:27:04: Current database version: 8 2010-11-03 18:27:04: Starting signal handler 2010-11-03 18:27:04: Loading playlists 2010-11-03 18:27:04: Initializing database 2010-11-03 18:27:05: Starting mp3 scan 2010-11-03 18:27:05: Short file: /var/hda/files/music/Disturbed/The Sickness/06 Fear.mp3 2010-11-03 18:27:24: Starting web server from /usr/share/mt-daapd/admin-root on port 3689 2010-11-03 18:27:24: Registering rendezvous names 2010-11-03 18:27:25: Scanned 4855 songs in 21 seconds 2010-11-03 18:37:26: Rescanning database 2010-11-03 18:37:27: Short file: /var/hda/files/music/Disturbed/The Sickness/06 Fear.mp3
The last two lines repeat every 10 minutes. Any suggestions?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Not seeing any songs

Postby bigfoot65 » Thu Nov 04, 2010 6:58 pm

ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kermtfrg
Posts: 14
Joined: Wed Nov 03, 2010 10:03 am

Re: Not seeing any songs

Postby kermtfrg » Fri Nov 05, 2010 5:05 am

I've read the wiki many times, its always the first place I start but it doesn't address my situation. When I open Amahitunes from within Amahi it shows that 0 songs are available. The log does show that it scanned 4,855 songs and then it gets stuck on the one song title. Can you explain to me what is happening in the log?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Not seeing any songs

Postby bigfoot65 » Fri Nov 05, 2010 5:09 am

I may be able to help explain if I can see the log. Is your music in the default Amahi share music folder? Are the permissions and ownership of the folder/contents correct? Normally that is 775 and owned by your user:users.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Not seeing any songs

Postby radioz » Fri Nov 05, 2010 12:15 pm

I don't know if this is your problem, but AmahiTunes has a maximum limit on the number of music files it can display. If you exceed this value, it display NONE of them!

Here is how I fixed mine:

In /var/hda/web-apps/amahitunes/html/index.html change

Code: Select all

<?php if (count($songs) > 1000): ?> Too many songs match to list here ...
To:

Code: Select all

<?php if (count($songs) > 2000): ?> Too many songs match to list here ...
(I had 1500 songs, so I changed the limit to 2000).

I don't actually use AmahiTunes myself. I've been running mt-daapd on my hda with good success.
Good luck.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Not seeing any songs

Postby bigfoot65 » Fri Nov 05, 2010 2:03 pm

Has this been submitted as a bug? If not, please do so we can keep this from happening to others.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Not seeing any songs

Postby radioz » Fri Nov 05, 2010 10:19 pm

Good suggestion!

Bug #673

Thanks.

Who is online

Users browsing this forum: No registered users and 8 guests