FAQ  •  Register  •  Login

Hypem

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17111

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 05, 2012 8:50 pm

Hypem

Plugin for hypem.com feeds. Requires at least Serviio 0.6.1.

Added 5/1/2012
Updated cookie 21/07/2012
Attachments
Hypem.groovy
(2.32 KiB) Downloaded 288 times
<<

ytrich1

Serviio newbie

Posts: 4

Joined: Sat Jul 14, 2012 12:33 pm

Post Sat Jul 14, 2012 12:40 pm

Re: Hypem

Hi there, I'm having a little trouble with this. I'm trying to see my hype machine loved tracks on my devices but list always shows up empty. Have copied Hypem.groovy to /Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins but it doesn't seem to be reading the posts... Any help greatly appreciated. Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17111

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 17, 2012 12:21 pm

Re: Hypem

what is the feed URL you are using?
<<

ytrich1

Serviio newbie

Posts: 4

Joined: Sat Jul 14, 2012 12:33 pm

Post Wed Jul 18, 2012 7:04 pm

Re: Hypem

I'm using: http://hypem.com/feed/loved/ytrich1/1/feed.xml

Ytrich1 being my username for hypemachine.
<<

ytrich1

Serviio newbie

Posts: 4

Joined: Sat Jul 14, 2012 12:33 pm

Post Fri Jul 20, 2012 7:16 pm

Re: Hypem

Is it a problem with the feed address then? Seems right from the guides on the hype machine site...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17111

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jul 21, 2012 10:55 am

Re: Hypem

Two things - first the auth cookie has expired, I updated the plugin with a new one. Also the feeds themselves don't seem to be working ATM, returns empty document for me - but they might fix it soon.
<<

ytrich1

Serviio newbie

Posts: 4

Joined: Sat Jul 14, 2012 12:33 pm

Post Mon Jul 23, 2012 8:19 pm

Re: Hypem

OK, thanks. Still having no joy though... Have downloaded and reinstalled the plugin. If i paste the feed address into a web browser i get a page full of tunes but still an empty list on my devices reading from Serviio. I've tried all three but should it be set to Online RSS/Atom feed, Live Stream or Web Resource? If i paste another (working) feed into a web browser (http://www.fluxblog.org/feed), the list actually has links to .mp3 files within it and the hype machine one doesn't. Is that a clue or just a different type of feed? Thanks again.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17111

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jul 23, 2012 11:45 pm

Re: Hypem

It's RSS feed.

Your other link doesn't need plugin, it already includes mp3 file links so it should just work.
<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Tue Aug 28, 2012 5:10 am

Re: Hypem

So I was looking at this plugin yesterday and. It is broken. Looks like the format of the urls on the web has changed. I almost fixed it but then my ip adress got banned for suspicious activity. It implied the ban was 72hrs. So I might get to fix this in a few days

edit: Just realised that the version of this plugin I was looking at dates from the all plugin pack from 17 June 2012. And I note that we have a new all plugin pack in which this plugin has been changed (24 July 2012). So I can not say if the new plugin works or not. Just that the one in the old 17 June 2012 did not.
--
linux/Humax HDR-3000T
<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Tue Aug 28, 2012 12:08 pm

Re: Hypem

So I checked the version in the latest all plugins pack and it only differs from the version I was looking at yesterday by the cookie that is set in it.

So it is still my contention that this plugin is broken due to changes in URL formats.

The URLs have "track" in them rather than "item"
http://hypem.com/track/1pbh9/Lana+Del+R ... io+Edit%29

So def matcher = linkUrl =~ '^.+/item/(\\w+)/'

becomes

def matcher = linkUrl =~ '^.+/track/(\\w+)/'

And there are a few other changes to make.

Like I said. I had almost fixed this until the web page said to me.

404
Possible Reasons
• You have attempted to access a private area.
• You have been using automated tools to access the Hype Machine.
• Your host has made a large number of requests, utilized a large amount of bandwidth, or engaged in other types of disruptive activity in the past 72 hours.



So I think I am banned for 72 hours
--
linux/Humax HDR-3000T
<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Tue Sep 04, 2012 3:06 pm

Re: Hypem

I present a new version of this plugin
* 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+Val ... s+Remix%29
But I am not sure the plugin archtecture can handle that. This plugin returns the first audio it finds for each 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 248 times
--
linux/Humax HDR-3000T

Return to Available plugins

Who is online

Users browsing this forum: Google [Bot] and 2 guests

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