FAQ  •  Register  •  Login

Strange serviio behaviour with folder names

<<

posith

Serviio newbie

Posts: 9

Joined: Wed Dec 29, 2010 10:01 pm

Post Tue Jan 04, 2011 9:00 pm

Strange serviio behaviour with folder names

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 05, 2011 9:38 am

Re: Strange serviio behaviour with folder names

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 06, 2011 8:03 pm

Re: Strange serviio behaviour with folder names

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)
<<

posith

Serviio newbie

Posts: 9

Joined: Wed Dec 29, 2010 10:01 pm

Post Fri Jan 07, 2011 8:22 am

Re: Strange serviio behaviour with folder names

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.
Attachments
test_serviio.zip
Log file with comments in it
(5.74 KiB) Downloaded 594 times
screenshot67.jpeg
Files not visibile in /Video/Folder/mySeries
screenshot67.jpeg (89.92 KiB) Viewed 11034 times
screenshot66.jpeg
Correct folder tree structure in AV media controller that isnt visible on TV
screenshot66.jpeg (61.19 KiB) Viewed 11034 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 07, 2011 9:44 am

Re: Strange serviio behaviour with folder names

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)
<<

posith

Serviio newbie

Posts: 9

Joined: Wed Dec 29, 2010 10:01 pm

Post Fri Jan 07, 2011 10:42 am

Re: Strange serviio behaviour with folder names

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 07, 2011 11:51 am

Re: Strange serviio behaviour with folder names

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.
<<

posith

Serviio newbie

Posts: 9

Joined: Wed Dec 29, 2010 10:01 pm

Post Fri Jan 07, 2011 2:09 pm

Re: Strange serviio behaviour with folder names

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?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 07, 2011 2:40 pm

Re: Strange serviio behaviour with folder names

it just does it so that you get the changes (e.g. a new shared folder) immediately
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 08, 2011 6:25 pm

Re: Strange serviio behaviour with folder names

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?
<<

posith

Serviio newbie

Posts: 9

Joined: Wed Dec 29, 2010 10:01 pm

Post Sat Jan 08, 2011 10:56 pm

Re: Strange serviio behaviour with folder names

Hi, sure it will be a pleasure.

Return to User experiences

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.