yne / gotube

YouTube player for the PlayStation Portable
0 stars 1 forks source link

Create Music Plugin for GoTube (ambicious project hahahaha) #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
While ago, i test to play mp3 files on Gotube, and i see that´s it sound 
pretty good, now my question is: Can be maked a music plugin for gotube? 

I tried but i have much problems, the page from i tried to make is Goear.com

Any ideas or help will be thanked.

Thanks!!!

Original issue reported on code.google.com by pspa...@gmail.com on 24 Aug 2011 at 10:27

GoogleCodeExporter commented 9 years ago
yes goear sound possible to script. But what was your problem ?

Original comment by biscotte...@gmail.com on 24 Aug 2011 at 10:33

GoogleCodeExporter commented 9 years ago
mmmm i dont understand the vide.URL part, and the video.INFO (is music, can be 
similar but...)

And other little things...

Original comment by pspa...@gmail.com on 24 Aug 2011 at 10:37

GoogleCodeExporter commented 9 years ago
video.URL is a string, evaluated when you select select a result.
VideoInfo is a table , containing all "video" object (aka result list).
result.VideoInfo.push(video); this line add the current filled object to this 
result list.

Original comment by biscotte...@gmail.com on 24 Aug 2011 at 10:48

GoogleCodeExporter commented 9 years ago
MMMM I undertan only at this point

var Goear = new Object();

Goear.rev        = 1;
Goear.SearchDesc = "Goear Search";
Goear.Name       = "Goear";

Goear.Search     = function (keyword, page){
var result = new Object();
result.bypage    = 10;
result.start     = (page-1)*result.bypage+1;
c=GetContents('http://goear.com/search/'+escape(keyword)+'/'+page);
result.total     = -1;

Original comment by pspa...@gmail.com on 24 Aug 2011 at 11:04

GoogleCodeExporter commented 9 years ago
I have a problem with de video.URL part...

This it. 

http://www.goear.com/listen/378fd66/go-go-mario-mario-and-zelda-big-band-live

I dont know what to put i the ''378fd66'' part because it changes with every 
song...

Original comment by pspa...@gmail.com on 24 Aug 2011 at 11:06

GoogleCodeExporter commented 9 years ago
you should verify but i think "page" must be decreased since the first page is 
"0" :
http://www.goear.com/search/sebastian/0

about the rest of the script
1 - the while line :
each time the scring *** is found, the script'll continue tu parse the page.
so you must find a specific string that precede each result
[spoiler]
<div style="padding-left:1px;">
[/spoiler]
2 - the 378fd66 is an id, you have to understand how the mp3 is retrieve to 
understand how to use it
tips : 'http://www.goear.com/tracker758.php?f='+id
it will return an xml containing the mp3 url

Original comment by biscotte...@gmail.com on 24 Aug 2011 at 11:19

GoogleCodeExporter commented 9 years ago
I also tried to make a script for goear but I could not find the url that gives 
the mp3 file x.x anyways with the tip biscotte gave you I think I can make that 
script for you or help you. Also you could try this one I made some weeks ago 
for another mp3 site called mp3skull.

Original comment by Waff...@hotmail.com on 25 Aug 2011 at 5:59

GoogleCodeExporter commented 9 years ago
1 mistake in the first script :/ sorry for double posting

Original comment by Waff...@hotmail.com on 25 Aug 2011 at 6:14

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the script its very usefull, i will analize it...

If you want to help me with the goear script i will be great :D

Thanks!!!

Original comment by pspa...@gmail.com on 26 Aug 2011 at 2:37

GoogleCodeExporter commented 9 years ago
I would be glad to help you, just post your doubts or email me. By the way I am 
learning so I don't know a lot :/

Original comment by Waff...@hotmail.com on 26 Aug 2011 at 8:13

GoogleCodeExporter commented 9 years ago
http://www.callateyescucha.com/

Original comment by adtua...@gmail.com on 22 Dec 2011 at 2:54