FAQ  •  Register  •  Login

RSS feed item - more than one media item to return

<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Tue Sep 04, 2012 3:03 pm

RSS feed item - more than one media item to return

So I have fixed the Hypem.groovy plugin.

But durring this process I have noticed that some feed items have the potential to return more than one audio file.

Eg http://hypem.com/track/1pfbz/Alison+Val ... s+Remix%29 would appear to have more than one audio file to return.

Can the plugin arcitecture handle this?

My fix to the plug returns the first audio track if finds per feed item.
Attachments
Hypem.groovy
* ver 3.0 ttguy This version is based on version with the file timestamped 24 Jul 2012 as found in the all plugins pack for serviio 1.0.1 Updated (27/08/12)
* Changes: 3.0 URLs changed their structure as did content info JSON. Had to fix some regular expression matching strings.
* Uses org.ccil.cowan.tagsoup.Parser to parse some html now.
* Have noticed that each feed item could have more than one audio file to return. eg http://hypem.com/track/1pfbz/Alison+Valentine-Peanut+Butter+%28Moon+Boots+Remix%29
* But I am not sure the plugin archtecture
* can handle that.
(6.28 KiB) Downloaded 497 times
--
linux/Humax HDR-3000T
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 05, 2012 9:11 pm

Re: RSS feed item - more than one media item to return

your fix seems right to me.

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 6 guests

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