Post Reply 
Separators in custom fields
09-03-2023, 17:54
Post: #9
RE: Separators in custom fields
I tried Asset UPnP for Synology and Synology Media Server to see how they handle this. These servers assume that both '/' and '\' represent a folder separator in the path. They don't allow a playlist to refer to a file containing a '\' character in its filename.

I think there could be a solution that works for both cases. A future version of MinimServer could look at the first '/' or '\' character in the path. If this character is a '/', MinimServer would work as it does now by using '/' characters as folder separators and '\' characters as filename characters. If this character is a '\', MinimServer would treat this character and all other '\' or '/' characters in the path as folder separators.

Here are some examples:

../a/b/c.mp3 would treat a and b as folder names and c.mp3 as a filename
..\a\b\c.mp3 would treat a and b as folder names and c.mp3 as a filename
../a/b\c.mp3 would treat a as a folder name and b\c.mp3 as a filename
..\a\b/c.mp3 would treat a and b as folder names and c.mp3 as a filename
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Separators in custom fields - edj - 25-02-2023, 17:46
RE: Separators in custom fields - edj - 27-02-2023, 16:34
RE: Separators in custom fields - edj - 08-03-2023, 23:51
RE: Separators in custom fields - edj - 09-03-2023, 12:34
RE: Separators in custom fields - edj - 09-03-2023, 15:20
RE: Separators in custom fields - simoncn - 09-03-2023 17:54
RE: Separators in custom fields - edj - 09-03-2023, 20:58

Forum Jump:


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