I set writealltags to alltags.txt but then get
Must be a writable filename; correct highlighted value and retry
I have tried various other more specific filenames but always get the same error
Synology DSM 7 and using latest 2.2 Minimserver
Thanks
Mike
The message is saying you have used a filename that doesn't have write permission for MinimServer. I tried this and I am seeing the same thing. I will investigate and post back here.
This is caused by a bug in MinimServer 2.2. A fix willl be available soon.
Excellent - many thanks Simon
Best wishes
Mike
This problem is fixed now in MinimServer update 231.
when set that and rescan i get an error
Unexpected exception java.lang.NullPointerException
java.lang.NullPointerException
at com.minimserver.RandomFileInputStream.getData(RandomFileInputStream.java:78)
at com.minimserver.RandomFileInputStream.read(RandomFileInputStream.java:41)
at java.base/java.io.DataInputStream.readInt(DataInputStream.java:391)
at com.minimserver.Server.getCachedItemPath(Server.java:19542)
at com.minimserver.Server.access$27500(Server.java:185)
at com.minimserver.Server$AudioItem.getItemAbsolutePath(Server.java:22905)
at com.minimserver.Server.writeLastItems(Server.java:9348)
at com.minimserver.Server.access$7100(Server.java:185)
at com.minimserver.Server$AddLastPlayedAction$1.run(Server.java:9525)
at org.jminim.core.RuntimeImpl$1.run(RuntimeImpl.java:2595)
stopping MinimServer[DiskStation]
MinimServer[DiskStation] is stopped
This doesn't seem to be related to writeAllTags. From the error stack trace, it appears you might have been playing a file at the same time as doing the rescan and there was some interaction between these that caused the error. Does this seem plausible?
yes could have been playing remotely via BubbleUPNP
did another rescan and this one ran without the error
and produced the alltags data in the file as expected
Thanks
Thanks for confirming. It should be OK to play a file while rescanning. The error is triggered by MinimServer writing the played file to the list of recently played files while the rescan is rebuilding some data structures that are needed for writing the file. I will work on a fix but it won't happen until after Christmas.