Page 1 of 1
Strange serviio behaviour with folder names

Posted:
Tue Jan 04, 2011 9:00 pm
by posith
Hi,
On my computer where serviio works my Tv Shows are stored in two folders
D:\Media\mySeries
E:\Media\mySeries
These two folders are added to serviio library (respectively).
So they are visible as:
mySeries
mySeries
on Tv's virtual folder /Video/Folders.
Now, when I navigate on TV to these folders (I mean /Video/Folders) I see two folders called "mySeries" but when I click into each of them I see only the list from the first mySeries folder (D:\Media\mySeries) (doesnt matter which mySeries folder I click into). Files from E:\Media\mySeries are not visible , but they ARE visible in /Video/Series virtual folder but not all of them - those that couldn't have metadata extracted are not visible - so i don't see these files even if they are on disk and are playable by TV through DLNA.
So, to sum up..
Two folder paths with the same last folder produces two virtual folders of the same name (that's ok) but on TV each of these folders direct you to the first folder path (in my case D:\Media\mySeries) and the second one is not visible. i consider it as a bug

Cheers,
posith
Re: Strange serviio behaviour with folder names

Posted:
Wed Jan 05, 2011 9:38 am
by zip
Re: Strange serviio behaviour with folder names

Posted:
Thu Jan 06, 2011 8:03 pm
by zip
Can you tell me what is your TV? And post
detailed log of when you browse to the Folders folder? I tried this in AV Media Controller and it works for me. Can you try in the Intel's tool as well? It could be a bug of the TV (not expecting a folder with the same name on the same level)
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 8:22 am
by posith
Hi,
TV: Samsung LE40C550
For testing purposes I created two folders today:
c:\downloads\mySeries (containing files that can't be processed via online metadata tags)
e:\download\mySeries (containing searchable files via online metadatatags)
AV Media COntroller sees them correctly but TV doesn't:
files from c:\downloads\mySeries are ONLY visible in /Video/All titles "P" virtual folder (should be also visible in /Video/Folders/mySeries)
files from e:\download\mySeries are visible correctly in /Video/Series etc..
In attached log i've put some comment lines: 1, 43, 143 all starting with "***********"
Additional thing: When I switched off "Keep library automatically updated" and saved, the serviio service deleted all content from DB and I had to force refresh.
I hope that this will help you a little.
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 9:44 am
by zip
Thanks.
In the log you can see the TV is sending Browse() requests for the same folder in both cases (objectID = V_F#FOL_R62), and AV Media Controller seeing it properly I think it's a problem with the TV (probably dealing with names rather than id's).
Not sure why all the files got deleted, were they still accessible? (ie not on a disconnected drive)
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 10:42 am
by posith
Hi zip,
yeah i noticed that folder id is the same, when I was lookin through the log.
looking by name and not by folder id was also my first thought. if that's the case then there is probably nothing we can do right now, right?
one idea.. don't know if it can be applied..
when service looks through the files, it stores the path to files in db, and i assume the virtual paths also.. if so, can't it split the real path to an array and
somehow check if the last folder name exists already in db? and attach new files to existing record Id (folder id) of that folder?
i am not sure if it is possible.. but it's kind of a workaraund.
now about the "keeping library updated"..
this is strange, and I observe the same behaviour when I change the refresh interval and press "save".
all the files are deleted from DB and are not visible (and folders as well besides the virtual ones) on TV menu.
it's not a big deal for me, i can have the automated updateding running . but nevertheles theres something wrong. maybe some one else also noticed that?
what i did was:
populate DB, check folder on tv, unclick automatic update, press save, and instantly recheck folders on tv., they appear to be empty.
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 11:51 am
by zip
When you click save it'll force refresh... it thinks the files are not there and removes them. That's why I was asking if the files are still in the same location on the shared drive.
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 2:09 pm
by posith
The files are still in the same location on the shared drive.
so can i change options like refresh interval or others withouth forced refreshing?
Is invoking the refresh neccessary then every time i press save button?
Re: Strange serviio behaviour with folder names

Posted:
Fri Jan 07, 2011 2:40 pm
by zip
it just does it so that you get the changes (e.g. a new shared folder) immediately
Re: Strange serviio behaviour with folder names

Posted:
Sat Jan 08, 2011 6:25 pm
by zip
Attempted a fix for the deletions. Will add you to the betatesters group, could you re-test it with beta 5 when it's out?
Re: Strange serviio behaviour with folder names

Posted:
Sat Jan 08, 2011 10:56 pm
by posith
Hi, sure it will be a pleasure.