Page 1 of 1

Sorting of feeds possible?

PostPosted: Tue Feb 07, 2012 9:30 am
by Cantello
Is it somehow possible to sort the online resources/feeds? Currently they are only sorted by date added, which is not very convenient...

Thanks,
Helge.

Re: Sorting of feeds possible?

PostPosted: Wed Feb 08, 2012 12:58 pm
by zip
I assume you mean items in the feed.... Date (ie the order the items have been added to the feed) is the only way. WebResources plugin can implement whatever sorting is appropriate for the resource but I assume it takes the items in the same way they appear on the web site in most cases.

Re: Sorting of feeds possible?

PostPosted: Wed Feb 08, 2012 4:15 pm
by Cantello
zip wrote:I assume you mean items in the feed....


Actually I was referring to the order of the different feeds, not the order of the individual items within the feeds. I don't know in which file they are defined (to edit the order manually) and via the console (kairoh's WebUI) there is no way to sort them.

Probably I'm just too blind to see what's obvious, but I need a hint in the right direction.

Re: Sorting of feeds possible?

PostPosted: Wed Feb 08, 2012 4:24 pm
by Citronel
On my TV Samsung 5000 I see the feed ordered as I have entered them in Serviio, in media player EGREAT I see the feeds ordered alphabetical and also individual items within the feeds.

Re: Sorting of feeds possible?

PostPosted: Wed Feb 08, 2012 10:29 pm
by zip
there is an open ticket on adding the ordering functionality to the console. It'll be added in future.

Re: Sorting of feeds possible?

PostPosted: Wed Feb 08, 2012 10:37 pm
by jhb50
Horray!!

Re: Sorting of feeds possible?

PostPosted: Thu Feb 09, 2012 6:10 am
by Cantello
zip wrote:there is an open ticket on adding the ordering functionality to the console. It'll be added in future.


Yay, thanks! Are you referring to #226?

Re: Sorting of feeds possible?

PostPosted: Thu Feb 09, 2012 5:37 pm
by zip
That one is for local files, this is for the online ones: https://bitbucket.org/xnejp03/serviio/issue/423/

Re: Sorting of feeds possible?

PostPosted: Thu Feb 09, 2012 5:47 pm
by will
How is this going to be implemented from the REST API perspective? Will it be an extra parameter (sortOrder)?

At the moment, what would happen if all items were removed in one PUT, and then they were all added back (in the desired order) without their id's in a second PUT request? Would serviio have to look up everything again, or could it use the cached content?

Re: Sorting of feeds possible?

PostPosted: Fri Feb 10, 2012 11:12 am
by zip
will wrote:How is this going to be implemented from the REST API perspective? Will it be an extra parameter (sortOrder)?

yes
At the moment, what would happen if all items were removed in one PUT, and then they were all added back (in the desired order) without their id's in a second PUT request? Would serviio have to look up everything again, or could it use the cached content?

It'd use some cache (for ffmpeg -i) but would have to parse the feeds again.