Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-09-10 Thread mr-b


slartibartfast wrote: 
> They are but changed tags or changed artwork are not always picked up.
>  I thought I'd seen reports too. Is a bug filed for that? I couldn't see
anything at https://github.com//Logitech/slimserver/issues



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-09-01 Thread slartibartfast


Roland0 wrote: 
> 
> 
> Files having a newer modification date compared to last access by
> scanner are picked up

They are but changed tags or changed artwork are not always picked up.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-08-31 Thread Roland0


mr-b wrote: 
> https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/test-path?view=powershell-7
> can check apparently.
> 
This checks if a path exists (which is what LMS does as well), which
isn't a
Roland0 wrote: 
> 
> generic method to determine if it's empty because there is nothing in
> the folder, or because the network share has been unmounted due to
> network issues.
> 

mr-b wrote: 
> 
> I've no idea what "any backup soln" is though.
> 
https://duckduckgo.com/?q=linux+backup+solution&kae=t

mr-b wrote: 
> 
> Also several posts indicate that new and changed scans don't pickup all
> changed files.
Files having a newer modification date compared to last access by
scanner are picked up



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-08-31 Thread mr-b


I've no idea what "any backup soln" is though.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-08-31 Thread mr-b


Powershell has test-path:

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/test-path?view=powershell-7



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-08-31 Thread Roland0


mr-b wrote: 
> 
> So I guess one option is to change the scan type to be "Look for new and
> changed media files" but I've not been able to find a description of
> exactly what "new and changed media" means. 
> 
File added / removed / has newer mofification date compared to last
access

> 
> Otherwise it'd be really handy if the "Clear and rescan" could do some
> form of elementary check to see that the library is accessible before it
> deletes everything.
> 
A network mount is just a folder, so there's no generic method to
determine if it's empty because there is nothing in the folder, or
because the network share has been unmounted due to network issues.

> 
> Or is there another way or recovering the previous library database?
> 
Any backup solution can do that.

You could also create a script which checks if the share is unavailable
and disables the rescan (using the LMS CLI's 'pref'
(http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html#pref)
command)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Library check before clear and rescan?

2020-08-30 Thread mr-b


Hi

I use the Rescan Music Libray plugin to rescan nightly and pick up the
previous day's changes.
But next day I sometimes see the dreaded "Empty" on browsing My Music
and discover that my library has been cleared due to an issue with my
server share not being available at that rescan time. :-(

The issue could be that the Windows server was unavailable for some
reason or that the share mount from LMS on PCP has failed and not
recovered (this seems be a recurring frustrating issue with Samba). The
impact is that I have to wait for a couple of hours while the library is
rescanned. :-(

So I guess one option is to change the scan type to be "Look for new and
changed media files" but I've not been able to find a description of
exactly what "new and changed media" means. However I have seen that
this scan method often has issues with (not) scanning changed tags which
is quite often true.

Otherwise it'd be really handy if the "Clear and rescan" could do some
form of elementary check to see that the library is accessible before it
deletes everything.
Or is there another way or recovering the previous library database?



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter