Scanner not finding new albums

Need help? Post your questions here.

Moderator: moderators

Scanner not finding new albums

Postby keanon » Mon Mar 04, 2019 8:59 pm

Hello!

I have a folder, F:\Music\.
I put new music into F:\Music\Unsorted\.

The nightly scan is not picking up new music in the latter folder that was added to the drive after the initial Subsonic scan.

Ideas? The subsonic.log file is not giving anything relevant.
keanon
 
Posts: 8
Joined: Thu Feb 09, 2012 9:47 pm

Re: Scanner not finding new albums

Postby 3Dscrewer » Tue Mar 05, 2019 9:30 am

It would be nice to hear what OS you are using. That’s very helpful because every OS is different to handle.
Since you’re using Backslash I assume that it is Windows.

I don’t use Backslashes at the end of the path, probably that might be the difference?

My path is always Music\Artist\Album\CD if more or Tracks without Problems.

If you are using Linux check the rights for the new folder
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Scanner not finding new albums

Postby keanon » Tue Mar 05, 2019 7:37 pm

It's Windows. The scanner counts all the other folders/files but not new ones. I removed the slash and rescanned but no bueno.
keanon
 
Posts: 8
Joined: Thu Feb 09, 2012 9:47 pm

Re: Scanner not finding new albums

Postby G8DHE » Tue Mar 05, 2019 10:59 pm

I believe if the scanner doesn't see the date change on the folder then it assumes that nothing has changed below it, touch all the folders with a new date and all the contents will be rescanned.
Geoff G8DHE
Version 6.0 Beta 2
G8DHE
 
Posts: 139
Joined: Sun Nov 04, 2012 4:56 pm

Re: Scanner not finding new albums

Postby hogfan » Thu Mar 14, 2019 5:01 am

If you need to do a touch command on Windows, put the below code into notepad and save the file with a .ps1 extension (Windows Powershell). This is a basic Powershell script that will recursively touch all folders/files. Just be sure to replace the path with your drive letter and directory. Note: If you run this against your main music folder it will update the last modified date on ALL of your music folders and files. That is not ideal in some cases if you actually care about the current modified date for some other reason. Therefore, just include only the full path to the top level folder you want to "Touch" and everything under it.

Code: Select all
dir F:\Music -R | foreach { $_.LastWriteTime = [System.DateTime]::Now }


Then just run the script with Windows Powershell. All of you new music should now show up in Subsonic.

I think the scanning issue is a Subsonic bug that needs to be fixed........the scanner needs to look not only at the folder mod date, but the mod date of the files within the folder.
Image
Image
hogfan
 
Posts: 30
Joined: Tue Jan 25, 2011 2:31 am
Location: Little Rock, AR

Re: Scanner not finding new albums

Postby 3Dscrewer » Sat Mar 16, 2019 6:42 pm

Michael from play:sub (iOS (Apple) APP) just found that there are two ways how subsonic handles changes. That causes that a edited Album probably is not shown as new, but the changes are still available in folder view ....
If you are changing only the Tags it is recognized, but is not new because two entries in Database.
Check this out.
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Scanner not finding new albums

Postby azzure » Mon Apr 08, 2019 2:19 am

I figured out how to run hogfan's script but I'm getting an "access to the path is denied message" for each file. I'm fiddling with permissions but can't seem to fix it.
azzure
 
Posts: 3
Joined: Fri Mar 22, 2019 6:45 pm

Re: Scanner not finding new albums

Postby 3Dscrewer » Tue Apr 09, 2019 8:22 am

right Mouse click at that file you have generated and execute as admin, that should help (Windows Basics you should know)
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: Scanner not finding new albums

Postby benco55 » Wed Dec 04, 2019 4:07 pm

I did it like this, but a got a faut, see below.

dir Y: -R | foreach { $_.LastWriteTime = [System.DateTime]::Now }



foutmelding in Windows power shell
PS C:\> ".\SubsonicY.ps1".
>>
At line:1 char:19
+ ".\SubsonicY.ps1".
+ ~
Missing property name after reference operator.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingPropertyName
benco55
 
Posts: 8
Joined: Sun Mar 04, 2007 5:55 pm
Location: Netherlands

Re: Scanner not finding new albums

Postby 3Dscrewer » Thu Dec 05, 2019 3:00 pm

You can try Total Commander afaik it is shareware, you can start it by pushing 1 or 2 or 3 each time. Download is free ...
There is an option to change attributes ie date to all files and subfolder. Upper left corner, Files ... thats the way I do it ... :-)
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 10 guests