MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Improvement Suggestions


Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here.

View Poll Results: Should Mediaportal feature a true Pandora plugin?
Yes, i dont mind the ads and this this service will be great. 84 94.38%
No, i wont use it and im happy with Pandora in a browser 5 5.62%
Voters: 89. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 2007-11-21, 05:57   #21 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 30
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

If anyone has sufficient programming skills there is already a C# based program that wraps up pandora into a tray applet. It shouldn't be too much work to turn it into a mediaportal addon but I don't have the skill (I realized after 2 years of CS that I had the skill to do scripting level programming and was much more natural as a sysadmin). The app source is at http://openpandora.googlecode.com/sv...k/OpenPandora/
afidel is offline   Reply With Quote
Old 2007-11-21, 09:10   #22 (permalink)
Portal Member
 
moiristo's Avatar
 
Join Date: Nov 2006
Location: Enschede
Posts: 293
Thanks: 6
Thanked 22 Times in 13 Posts

Country:

My System

Send a message via ICQ to moiristo Send a message via MSN to moiristo
Default

It sucks that the whole thing is undocumented, but I think that with some effort it can be done. Most important I think is to understand how Player.cs works...I saw a lot of javascript code analyzes in there while browsing through it
__________________
Greetz, moiristo

moiristo is offline   Reply With Quote
Old 2007-11-21, 14:50   #23 (permalink)
Portal Member
 
Join Date: Sep 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Try http://www.cfdan.com/index.cfm?tag=Pandoras%20Box
Wormfishin is offline   Reply With Quote
Old 2007-11-21, 15:32   #24 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 30
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Another approach would be to use the XML generated by Pandora for blogs and consume it to make a list page that then loads the target in an iframe with some javascript to catch the esc key which depending on if an iframe is open will either close the iframe or close the plugin. You'd simply need to use this javascript
Code:
function lookupEmail(form) {
	var emailAddress = $("input[@name=email]", form).val();
	if (emailAddress != "enter email address" && emailAddress.length > 0) {
		if (cache[emailAddress] == null) {
			jQuery.getJSON(
				"/services/ajax/",
				{ method : "authenticate.emailToWebname", email : emailAddress },
				function(json) {
					if (json.stat == "ok") {
						cache[emailAddress] = json.result.webname;
						showFeed(form, json.result.webname);
					} else {
						showError(form, "ERROR: Could not find email address");
					}
				}
			);
		} else {
			showFeed(form, cache[emailAddress]);
		}
	} else {
		alert("Please enter your email address.");
	}
}
from http://www.pandora.com/feeds

to generate a URL in the form http://feeds.pandora.com/feeds/people/<username>/stations.xml?max=<1-100>
which is an rss which lists the users current n channels.

This would even be kosher because the iframe would include the ads so pandora doesn't lose any ad revenue.
afidel is offline   Reply With Quote
Old 2007-11-21, 15:56   #25 (permalink)
Portal Member
 
Join Date: Sep 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by afidel View Post
Another approach would be to use the XML generated by Pandora for blogs
This sounds good to me, would it be possible to use a remote control then to thumb up or down songs?
Wormfishin is offline   Reply With Quote
Old 2007-11-21, 17:27   #26 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 30
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by Wormfishin View Post
Quote:
Originally Posted by afidel View Post
Another approach would be to use the XML generated by Pandora for blogs
This sounds good to me, would it be possible to use a remote control then to thumb up or down songs?
It should be, you'd need to send + and - for whatever keys were defined for the remote in the plugin section of the mapping area of MP, I'm not sure what would be good defaults for this to work with the widest array of input devices.
afidel is offline   Reply With Quote
Old 2007-11-21, 21:55   #27 (permalink)
Portal Tester
 
The_Stig's Avatar
 
Join Date: Apr 2005
Posts: 722
Thanks: 19
Thanked 2 Times in 2 Posts

My System

Default

This has been discussed several times. Biggest problem was that due to copyright-issues this was limited to US only. Is that not the case anymore?

And to the limitations of last.fm: If you guys do tagging it gets better by the minute :-)
__________________
Some say he works as a tester for Team Mediaportal and some say that he smells bugs, even before they are written into the Code. All we know is, he's called
The Stig.
The_Stig is offline   Reply With Quote
Old 2007-11-22, 07:19   #28 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 30
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by The_Stig View Post
This has been discussed several times. Biggest problem was that due to copyright-issues this was limited to US only. Is that not the case anymore?

And to the limitations of last.fm: If you guys do tagging it gets better by the minute :-)
It's still the case but there are posted methods for using tor to get the the site from outside the US.
http://openpandora.blogspot.com/2007...enpandora.html
afidel is offline   Reply With Quote
Old 2008-05-27, 22:10   #29 (permalink)
Portal Member
 
Join Date: May 2007
Location: Iowa
Age: 25
Posts: 84
Thanks: 5
Thanked 2 Times in 2 Posts

Country:

My System

Default

I just discovered Pandora... Is there any hint of progress on this plugin or is it dead...

Last edited by tonyscha; 2008-05-27 at 22:13.
tonyscha is offline   Reply With Quote
Old 2008-08-23, 16:08   #30 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Exclamation

It seems like there was some good thinking going here and then all of the sudden nothing. Given that enough people have expressed interest in this, and I would too for that matter, I wonder if anyone is still interested in taking this project on?
So I guess you could call this a bump.
peege3 is offline   Reply With Quote
Reply

Bookmarks

Tags
internet, pandora, plugin, radio, vote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start timeshifting Unable to create graph Topher5000 General Support 31 2008-09-06 18:35
Internet Radio Anonymous Tips and Tricks 76 2007-11-18 23:47
KNC 1 DVB-C / cannot tune channels lutz General Support 15 2006-10-01 12:04
TV recording question/problem 'Arry Installation, configuration support 9 2006-09-22 14:14
Recording from TV 'Arry General Support 2 2006-09-20 01:12


All times are GMT +1. The time now is 10:46.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden