MinimServer Forum
writealltags error - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Music Tagging (/forumdisplay.php?fid=9)
+--- Thread: writealltags error (/showthread.php?tid=6768)



writealltags error - mike963 - 23-12-2022 12:09

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


RE: writealltags error - simoncn - 23-12-2022 12:18

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.


RE: writealltags error - mike963 - 23-12-2022 12:20

at.txt


RE: writealltags error - simoncn - 23-12-2022 15:43

This is caused by a bug in MinimServer 2.2. A fix willl be available soon.


RE: writealltags error - mike963 - 23-12-2022 15:45

Excellent - many thanks Simon

Best wishes

Mike


RE: writealltags error - simoncn - 23-12-2022 17:16

This problem is fixed now in MinimServer update 231.


RE: writealltags error - mike963 - 23-12-2022 18:37

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


RE: writealltags error - simoncn - 23-12-2022 18:55

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?


RE: writealltags error - mike963 - 23-12-2022 19:17

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


RE: writealltags error - simoncn - 23-12-2022 20:28

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.