Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bronytunes. #1

Open
bonbonbot opened this issue Mar 16, 2016 · 10 comments
Open

Add bronytunes. #1

bonbonbot opened this issue Mar 16, 2016 · 10 comments

Comments

@bonbonbot
Copy link

https://bronytunes.com/#!/showcase


Reported by @luckydonald (user#10717954).

Referenced message:

As far I know this is the largest one → http://take.ms/0RpO4

@luckydonald
Copy link
Owner

"https://bronytunes.com/retrieve_song.php" \
"?song_id={id}&client_type=download".format(id=10811)

example

@luckydonald
Copy link
Owner

@kz
Copy link

kz commented Apr 8, 2016

@berwyn gg

@luckydonald
Copy link
Owner

@kz wut?

@luckydonald
Copy link
Owner

But where the hell is com.bronytunes.API in there? Found the import everywhere, but not the actual file.

import com.bronytunes.API;

@kz
Copy link

kz commented Apr 8, 2016

You might get more success with using Fiddler to intercept network traffic.

@luckydonald
Copy link
Owner

Description  Link  Params
New albums  https://bronytunes.com/retrieve_newalbums.php
Song Download https://bronytunes.com/retrieve_song.php?song_id={id}&client_type=download id=10327
Download coverart  https://bronytunes.com/retrieve_artwork.php?song_id={id}&size={size}&aspect=square  id=10327, size=80
Might return a 301 Header with a location of the file.

Python

# new albums
"https://bronytunes.com/retrieve_newalbums.php"
# cover art
"https://bronytunes.com/retrieve_artwork.php?song_id={id}&size={size}&aspect=square".format(id=10327, size=80)

It mostly results in a 301 Moved permanently with a new location in the header (see below).
Also seem to be are 3 alternative content severs.

  • https://bronytunes.com/
  • https://artwork1.bronytunes.com/
  • https://artwork2.bronytunes.com/
  • https://artwork3.bronytunes.com/
HTTP/1.1 301 Moved Permanently
Server: cloudflare-nginx
Date: Fri, 08 Apr 2016 21:54:53 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=defe8648f54e16b5da9d120b54a076df01460152492; expires=Sat, 08-Apr-17 21:54:52 GMT; path=/; domain=.bronytunes.com; HttpOnly
X-Powered-By: NewsTime Engine X
Copyright: (c) 2010-2015 Jacob Pritchett.  All rights reserved.
Set-Cookie: NewsTimeID=dbbapfbao6op7c0j6vbal1hr73; path=/
Pragma: no-cache
Cache-Control: public, must_revalidate, max_age => 86400
Expires: Sat, 26 Jul 1997 05:00:00 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: X-Requested-With
Location: ./conversions/XdgS8xLGqfk-80.png
CF-RAY: 2908f5d9186f1589-FRA
# report track as played
"https://bronytunes.com/track_song_play.php?song_id={id}".format(id=10327)
# now playing (radio)
"https://bronytunes.com/retrieve_nowplaying.php"
# converted cover art?
"https://bronytunes.com/conversions/XdgS8xLGqfk-80.png"
# song download
"https://bronytunes.com/retrieve_song.php?song_id={id}&client_type=download".format(id=10327)

iOS identification

"?client_type=iOS&client_version=8091&os_version=8.4.1"

@berwyn
Copy link

berwyn commented Apr 11, 2016

com.bronytunes.API is in a separate private package because (as of when I started that project) Jacob didn't want API details public (which is fairly kek, since it's a webservice, but I digress)

@luckydonald
Copy link
Owner

@berwyn
Did he change his opinion in the meantime?

Also, What is the best way to contact Jacob?
Kinda wanna tell him that Chromium just refuses to play anything (instead of at least trying..)
image

@berwyn
Copy link

berwyn commented Apr 12, 2016

He has not AFAIK. And I'm not sure why he doesn't fallback to the other codecs he supports >_>

https://twitter.com/JacobSyndeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants