Page 1 of 1

Folders in Online RSS Feed or Web resources

PostPosted: Tue Mar 26, 2013 9:44 am
by janeCMD
Hello,

I have created RSS feed for online streams and it works well when using LiveFeeds.groovy plugin. But I would like to categorize the content into folders, possibly with unlimited depth, but even if depth of folder structure would be just 1 or 2, its acceptable.

Example: I will enter the online feed or web resource url into servio: http://xxx.com/getLiveFeeds.php?user=34523

When accessing the feed through the TV, the desired type of content after opening 'Online' folder would be:

My Live Feed (1 main category)
- My Storage
--- Movies
--- TV Shows
--- Home Videos
- Shared Friends folders
--- Ricky's Streams
-------- stream 1 (item)
-------- stream 2 (item)
-------- ...stream n (item)
--- user_25684 Streams
...

What i am able to achieve now is simple list with no folder categorization:
My Live Feed
- stream1 (item)
- stream2(item)
...
- stream n(item)

That is however not very practical for feed wich may contain tens of videos.

So the questions are: - Is folder categorization mentioned above possible through RSS ? How ? (sorry if you find my question unappropriate, but i didnt find online how to do it)

- If not RSS, can it be done in Groovy ?

- Can i set the refresh rate at which Servioo updates the feed content to a low value (like 5 or 1 minute) ? What i want to achieve is: I will upload some video file to my online storage from some remote place. Then i want it to appear on my TV ASAP, so my family & friends can watch the video. My current solution does not support that, i have to forcefully refresh online source to get updated list, which includes new files.

Re: Folders in Online RSS Feed or Web resources

PostPosted: Tue Mar 26, 2013 10:01 am
by zip
Serviio doesn't support folders for online content yet.

Re: Folders in Online RSS Feed or Web resources

PostPosted: Wed Apr 24, 2013 2:58 pm
by aminits
But I would like to categorize the content into folders, possibly with unlimited depth, but even if depth of folder structure would be just 1 or 2, its acceptable.

Thanks janeCMD for bringing up this question. I also looked at ways to do this, especially for web content (organized in a folder structure). I would vote +1 for this feature request!

Re: Folders in Online RSS Feed or Web resources

PostPosted: Tue Dec 03, 2013 1:17 am
by leo1981
+1
I would like to have folders for online plugins too, now that I made a couple.

Re: Folders in Online RSS Feed or Web resources

PostPosted: Sun Dec 08, 2013 6:58 pm
by pna
+1 ! I'd like to see that too.

Re: Folders in Online RSS Feed or Web resources

PostPosted: Mon Dec 09, 2013 8:19 am
by abeani
+1 from me for this one...

Are there plans or even a status on implementing this?

I looked around and thought about adding a MediaFileType.FOLDER (or similar) which gets matched and loaded via the plugin(s) again. That way a plugin could easily create arbitrary folder structures and Serviio would only have to store those URLs/WebResourceItems in a hierarchial form...

Example
Root: http://server/resource
- extractItems(http://server/resource) generates WebResourceItems: folder1, folder2, ...
- extractUrl(folder1) returns ContentURLContainer(fileType = MediaFileType.FOLDER, contentURL = http://server/resource?folder1)
- extractItems(http://server/resource?folder1) generates WebResourceItems: folder1_subFolderA, folder1_subFolderB, ...
- extractUrl(folder1_subFolderB) returns ContentURLContainer(fileType = MediaFileType.FOLDER, contentURL = http://server/resource?folder1_subFolderB)
- extractItems(http://server/resource?folder1_subFolderB) generates WebResourceItems: folder1_subFolderB_fileX, folder1_subfolderB_fileY, ...
- extractUrl(folder1_subfolderB_fileY) returns ContentURLContainer(fileType = MediaFileType.VIDEO, contentURL = http://server/resource/real/path/to/fileY)

You think that this is possible? When?

Thank you!

Andy

Re: Folders in Online RSS Feed or Web resources

PostPosted: Mon Dec 09, 2013 9:20 am
by zip
I will do that, might try to get it in for 1.5

Re: Folders in Online RSS Feed or Web resources

PostPosted: Mon Dec 09, 2013 10:49 am
by abeani
Hey, cool, thank you!

Is there a schedule or any other time frame for 1.5? Are we talking abount days/weeks/months?

Thank you!

Andy

Re: Folders in Online RSS Feed or Web resources

PostPosted: Mon Dec 09, 2013 12:42 pm
by zip
MOnths, 1.4 should be out in a couple weeks, then I'm off for a month, then possibly 1.4.1 if there anre any fixes... so yes, months

Re: Folders in Online RSS Feed or Web resources

PostPosted: Fri Dec 13, 2013 9:13 am
by DTigerBKK
it will be a very interesting feature when done :D