Media Folder not being scanned and other questions

General discussions.

Moderator: moderators

Media Folder not being scanned and other questions

Postby drewsky » Sat Jul 14, 2012 10:02 pm

Hello all--
First off, I'm a long-time Linux geek but new to Subsonic, having just discovered it after years struggling with all sorts of different web-based media jukeboxes including Andromeda, kPlaylist, Zina and MPD to name a few. Subsonic is by far the most mature, feature-full product I have ever encountered -- I can't believe it took me this long to come across it. Many kudos to the developer(s) on a well-written piece of code.

My 2TB music collection is organized by artist name in top-level directories named A through Z in the format /music/A/Artist/Album/Song. For artists whose names begin with a number (e.g, 10,000 Maniacs), there is a directory named "/music/0-9".

I've installed version 4.7 Beta 2 a couple of days ago, and after reading carefully the online documentation, I decided to add each alphabet letter top-level directory as individual "media folders" so as to get the navigation effect that best fits my needs. With that, I would like to point out a few things I've noticed, namely:

(1) The media folder scan was able to scan all my folders (letters A-Z) seamlessly, but would NOT pick up the media folder "/music/0-9". After a lot of trial and error, I disabled all media folders except 0-9, where I was able to pinpoint that the scan would simple give up with the following log entries:

Code: Select all
[2012-07-14 13:04:24,008] INFO MediaScannerService - Starting to scan media library.
[2012-07-14 13:04:43,880] INFO MediaScannerService - Scanned media library with 1 entries.


Finally, I thought I'd rename the directory 0-9 to a simpler string such as 'test'. Re-running the scan on the newly renamed directory "/music/test" worked as expected:

Code: Select all
[2012-07-14 13:05:50,791] INFO MediaScannerService - Starting to scan media library.
[2012-07-14 13:06:10,187] INFO MediaScannerService - Scanned media library with 1 entries.
[2012-07-14 13:08:26,978] INFO MediaScannerService - Automatic media scanning disabled.
[2012-07-14 13:08:32,715] INFO MediaScannerService - Starting to scan media library.
[2012-07-14 13:08:51,801] INFO MediaScannerService - Scanned media library with 250 entries.
[2012-07-14 13:09:08,724] INFO MediaScannerService - Scanned media library with 500 entries.
[2012-07-14 13:09:25,663] INFO MediaScannerService - Scanned media library with 750 entries.
[2012-07-14 13:09:42,009] INFO MediaScannerService - Scanned media library with 1000 entries.
[2012-07-14 13:09:57,137] INFO MediaScannerService - Scanned media library with 1250 entries.


I would classify this as a bug, but defer it to the community to make that determination.

(2) After having dealt with issue described above for a few hours, I would suggest that a "debug" or "verbose loggging" checkbox option be added to Settings, whereby every file Subsonic comes across during the scan would be logged for success or failure. This would make it possible to verifiably discern that the scan did or did not succeeded as intended on a particular media folder.

(3) While still in the topic of media folders, I would also suggest a feature that would allow manual scans on a per-media folder basis. This would allow for the addition of new media folders without having to re-scan all the folders already in place, and would greatly aid in troubleshooting issues such as the above on a collection of well above 200,000 songs.

(4) Finally, I purchased iSub from the Apple store in order to use an iPad to control the music being played on the server remotely. I love the setup, but was disappointed in the inability for the app to control the volume remotely on the server. When inquiring about this feature with the iSub developers, I was told this is a limitation on Subsonic server, whereby each user is generated a separate "Jukebox" player instead of a single, central server player that is shared among all users. Is this information correct, and if so, are there any plans to implement the ability for a Subsonic client to control the volume on the server?

Thanks for letting me voice my opinions and suggestions, and my apologies in advance for the lengthy post.

Cheers,
Drew
drewsky
 
Posts: 6
Joined: Sat Jul 14, 2012 5:12 pm

Re: Media Folder not being scanned and other questions

Postby drewsky » Sat Jul 14, 2012 10:36 pm

Update: With regard to item (1) above, it appears that scan did not like the dash in /music/0-9. Renaming the directory to /music/09 worked as well.
drewsky
 
Posts: 6
Joined: Sat Jul 14, 2012 5:12 pm

Re: Media Folder not being scanned and other questions

Postby hakko » Sun Jul 15, 2012 4:35 am

Wow, this is such a good bug report. Thanks for writing it and I hope Sindre stumbles upon it!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Media Folder not being scanned and other questions

Postby asayler » Tue Jul 17, 2012 9:06 pm

I think I'm seeing the same issue (I originally misdiagnosed it as a permissions issue): viewtopic.php?f=2&t=9863
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Media Folder not being scanned and other questions

Postby ladfrombrad » Tue Jul 24, 2012 12:04 pm

I'm too seeing this on 4.7.beta2/Ubuntu 12.04 with a NAS drive which also has dashes in the filesystem.

Rolled back to v4.6 and all fine again.
ladfrombrad
 
Posts: 3
Joined: Tue Jul 24, 2012 11:59 am

Re: Media Folder not being scanned and other questions

Postby rastapi » Sat Aug 04, 2012 3:23 pm

I think I'm seeing this bug too, and also originally misdiagnosed it as a permissions issue. I'm running subsonic from raspberry pi too, so there's all sorts of issues I thought it could have been. But it does seem like a scanning issue- I can see the new directories I have just added to a usb through thunar, but when scanning subsonic does not pick up on new files. It seems to ignore the usb mostly. Seems like a cache thing somewhere perhaps- that it already thinks it knows what is on the usb, but I don't know..hence stumbling across this thread.

Anyhow, it's pretty annoying. Half my viewable files are invisible.

Might try to roll back to v4.6.
4.7.beta3
Raspberry Pi (model b)
ARM1176JZF-S 700 MHz processor
256 mb RAM
Rasbian OS
100gb (and growing...)
rastapi
 
Posts: 18
Joined: Wed Jul 25, 2012 11:18 pm

Re: Media Folder not being scanned and other questions

Postby D0ckw0rka » Wed Aug 08, 2012 9:44 am

Hi there,

I'm pretty new to subsonic but I have to say it's all that I've expected from many other streaming solutions and more :)

About this bug:
Now I'm not 100% sure if it's the same thing I'm gonna talk about, but I found a "strange" handling of files with numbers in the begin of the filename.
Strange because it doesn't happen to all files with numbers.
I've scanned my media folder and it recognise every file, but e.g.
File "11. September 2001 - Firefighter inside the towers.avi" is shown as "September 2001 - Firefighter inside the towers" in the medialist, file "24 Stunden - Berlin bei Nacht - Die Party Hauptstadt.avi"
is shown as "Stunden - Berlin bei Nacht - Die Party Hauptstadt". I couldn't find any regularity because e.g. file "9.11- Mysteries - Die Zerstörung des World Trade Centers (2007).avi" is shown correctly as "9.11- Mysteries - Die Zerstörung des World Trade Centers (2007)"; same thing with file "911 - In Plane Site.mpg" which is shown as "911 - In Plane Site".

As I said before, I'm not sure if we're talking about the same problem, but I really didn't find anything similar.

Greets from Berlin
D0C
User avatar
D0ckw0rka
 
Posts: 2
Joined: Wed Aug 08, 2012 7:21 am

Re: Media Folder not being scanned and other questions

Postby rastapi » Mon Aug 13, 2012 11:12 am

D0ckw0rka wrote:Hi there,

I'm pretty new to subsonic but I have to say it's all that I've expected from many other streaming solutions and more :)

About this bug:
Now I'm not 100% sure if it's the same thing I'm gonna talk about, but I found a "strange" handling of files with numbers in the begin of the filename.
Strange because it doesn't happen to all files with numbers.
I've scanned my media folder and it recognise every file, but e.g.
File "11. September 2001 - Firefighter inside the towers.avi" is shown as "September 2001 - Firefighter inside the towers" in the medialist, file "24 Stunden - Berlin bei Nacht - Die Party Hauptstadt.avi"
is shown as "Stunden - Berlin bei Nacht - Die Party Hauptstadt". I couldn't find any regularity because e.g. file "9.11- Mysteries - Die Zerstörung des World Trade Centers (2007).avi" is shown correctly as "9.11- Mysteries - Die Zerstörung des World Trade Centers (2007)"; same thing with file "911 - In Plane Site.mpg" which is shown as "911 - In Plane Site".

As I said before, I'm not sure if we're talking about the same problem, but I really didn't find anything similar.

Greets from Berlin
D0C


Try 4.7.beta3.deb - this issue seems to be fixed or working better. 'Cleanup database' option might sort this, though I think it may be to do with uploads through subsonic directly. I've been using ssh over filezilla to upload to subsonic on my raspberry pi and all have worked.
4.7.beta3
Raspberry Pi (model b)
ARM1176JZF-S 700 MHz processor
256 mb RAM
Rasbian OS
100gb (and growing...)
rastapi
 
Posts: 18
Joined: Wed Jul 25, 2012 11:18 pm

Re: Media Folder not being scanned and other questions

Postby damytzeus » Tue Aug 28, 2012 2:45 pm

had the same problem. downgrading to subsonic 4.6 solved the problem.
damytzeus
 
Posts: 1
Joined: Tue Aug 28, 2012 2:28 am

Re: Media Folder not being scanned and other questions

Postby glong » Mon Oct 01, 2012 7:05 pm

I have had the same problem, but it only became apparent when I had to reload my music files and tried to rescan with 4.7.
When I upgraded to 4.7 all was well, and the music worked, but after changing out a hard drive and trying to rescan from "scratch" I got the one medial file found error.
My MP3 files all start with the track number an hyphen then artist then track name (01-artist-track.mp3)

Downgrading to 4.6 fixed the problem - just another data point. Is there some good way to report this problem to the developer, to be sure he is aware if this?

I LOVE this program and installed it back in August, used it for three days and registered because I was so impressed with the performance and features.

Greg
glong
 
Posts: 1
Joined: Mon Oct 01, 2012 6:58 pm

Re: Media Folder not being scanned and other questions

Postby BKKKPewsey » Mon Oct 01, 2012 11:31 pm

glong wrote:My MP3 files all start with the track number an hyphen then artist then track name (01-artist-track.mp3)

I would suggest you make a separate post highlighting the problems you are having.
Most of my music files are in the format track# - title and they scan into 4.7 np so that is not an issue.
But 4.7 does need accurate ID tags to perform well whilst 4.6 read/implied a lot of info from the file structure.
Sindre does read this forum (after all it's his forum) so all bugs/feature requests etc are noted.

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests