Post Reply 
writealltags error
23-12-2022, 12:09
Post: #1
writealltags error
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
Find all posts by this user
Quote this message in a reply
23-12-2022, 12:18 (This post was last modified: 23-12-2022 12:25 by simoncn.)
Post: #2
RE: writealltags error
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.
Find all posts by this user
Quote this message in a reply
23-12-2022, 12:20
Post: #3
RE: writealltags error
at.txt
Find all posts by this user
Quote this message in a reply
23-12-2022, 15:43
Post: #4
RE: writealltags error
This is caused by a bug in MinimServer 2.2. A fix willl be available soon.
Find all posts by this user
Quote this message in a reply
23-12-2022, 15:45
Post: #5
RE: writealltags error
Excellent - many thanks Simon

Best wishes

Mike
Find all posts by this user
Quote this message in a reply
23-12-2022, 17:16
Post: #6
RE: writealltags error
This problem is fixed now in MinimServer update 231.
Find all posts by this user
Quote this message in a reply
23-12-2022, 18:37
Post: #7
RE: writealltags error
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
Find all posts by this user
Quote this message in a reply
23-12-2022, 18:55
Post: #8
RE: writealltags error
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?
Find all posts by this user
Quote this message in a reply
23-12-2022, 19:17
Post: #9
RE: writealltags error
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
Find all posts by this user
Quote this message in a reply
23-12-2022, 20:28
Post: #10
RE: writealltags error
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)