"tunes" app

16 views
Skip to first unread message

Jan-Christoph Borchardt

unread,
Apr 2, 2013, 6:20:55 PM4/2/13
to Unhosted, Per Thulin, Karl Tannergard, Michiel B. de Jong
This seems awesome and I want this to work! Just a few questions:

Who made this? hellacoders.com doesn’t work for me

Is it affiliated with http://youtify.com? It just looks like the developer of this should rather just collaborate with Per & Kalle (cc'd) to add remoteStorage support to Youtify already: https://github.com/youtify/youtify/issues/160 (This would be a good topic for the hackathon next weekend also)

Is Youtube and SoundCloud search supposed to work? (Doesn’t for me, really nothing except adding and removing playlists works)

Why does it request access to the strange modules: »playlists«, »playlistsongs« and »audio«? Why not just »music«?

Can we move it to the »for geeks« category until it actually works?



And by the way Michiel – with https://music-michiel.5apps.com/, there’s no way to add or upload music. Can you add that?

Michiel B. de Jong

unread,
Apr 2, 2013, 7:14:19 PM4/2/13
to Jan-Christoph Borchardt, Unhosted, Per Thulin, Karl Tannergard, da...@gatunes.com
On 2013-04-03 00:20, Jan-Christoph Borchardt wrote:
> I just saw http://unhostedtunes.hellacoders.com [1] on
> http://unhosted.org/apps [2]
>
> This seems awesome

I know! :)

> and I want this to work! Just a few questions:

Cool! contact Dani (CC'd).

>
> Who made this? hellacoders.com [3] doesn’t work for me
>
> Is it affiliated with http://youtify.com [4]? It just looks like the

no, Dani is Kenny's flatmate here in Madrid. No relation to youtify.

> developer of this should rather just collaborate with Per & Kalle
> (ccd) to add remoteStorage support to Youtify already:
> https://github.com/youtify/youtify/issues/160 [5] (This would be a
> good topic for the hackathon next weekend also)
>

I talked to Per and Kalle about that at Hacker Beach, and the
conclusion was that they would need to rewrite a lot of their code, they
would basically have to make the remoteStorage protocol their wire
protocol, and they decided it was just too much work for too little
gain, compared to other items on their features wish list. But maybe Per
or Kalle can confirm this?

> Is Youtube and SoundCloud search supposed to work? (Doesn’t for me,
> really nothing except adding and removing playlists works)
>

it doesn't work in firefox on linux due to how ajax responses are
handled, but it does work on both chrome on linux and also firefox on
mac.

i need to use it with chrome anyway because i have no Flash in Firefox,
so many songs don't play.

> Why does it request access to the strange modules: »playlists«,
> »playlistsongs« and »audio«? Why not just »music«?

yeah, we should probably merge those into the music module.

>
> Can we move it to the »for geeks« category until it actually works?
>

i would say geeks are actually quite likely to use ff on linux :) so
that wouldn't be accurate.

i'll make the apps page more informative, with also descriptions and
author details, links to source code, etcetera, and then i'll also add
"known issues"/"browser support".

but for me it works fine, which browser/os are you using? can you test
it with a different combo?

> And by the way Michiel – with https://music-michiel.5apps.com/ [6],
> there’s no way to add or upload music. Can you add that?
>

trying to upload binary data to your remoteStorage account is blocked
by https://github.com/remotestorage/remotestorage.js/issues/189 - 0.7.1
still stores everything in base64 inside JSON in localStorage before
uploading it. most of the music i listen to are long DJ sets, often
100Mb each. so right now, the only viable/realistic way to add music is
through the backdoor of your remoteStorage server.

i hope that explains it a bit.


Cheers!
Michiel

Sebastian Kippe

unread,
Apr 3, 2013, 8:14:44 AM4/3/13
to unho...@googlegroups.com, Jan-Christoph Borchardt, Per Thulin, Karl Tannergard, da...@gatunes.com
Hi,

> trying to upload binary data to your remoteStorage account is blocked by https://github.com/remotestorage/remotestorage.js/issues/189 - 0.7.1 still stores everything in base64 inside JSON in localStorage before uploading it. most of the music i listen to are long DJ sets, often 100Mb each. so right now, the only viable/realistic way to add music is through the backdoor of your remoteStorage server.

I don't understand this statement. I thought we had client.release() in order to not cache data before being posted. I'm using that with binary data (in my case images) in Sharedy, and it seems to be working as intended. Am I missing something?

That said, we're still working on big-object support in 5apps Storage. Riak CS was just released as open-source, so we can now use the new storage backend in Riak and not change any code or having to implement it ourselves. Currently, posting an object larger than a couple MB will likely throw an error.

Cheers,
Basti

Jan-Christoph Borchardt

unread,
Apr 6, 2013, 5:21:52 PM4/6/13
to da...@gatunes.com, Unhosted
Cool, thanks for the info Michiel! Great on developing this Dani!
While it’s not up on Github I’ll just shoot remarks and issues over here:

Firefox doesn’t work at all, not even with SoundCloud:
[14:38:17.313] GET http://ec-media.soundcloud.com/L0yhMCZeFAjf.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b0339595665ff0d00e9161a0db4e8bb6189a4f89ed1b50c3010f1e9ea143e8e9672558e76b57d3206bee0b22bdeb706&AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQ&Expires=1365252226&Signature=7bcpTlGJ58GKbVgwrphvWJeSCmI%3D [HTTP/1.1 206 Partial Content]
[14:38:17.122] HTTP "Content-Type" of "audio/mpeg" is not supported. Load of media resource http://api.soundcloud.com/tracks/7974262/stream?client_id=857a8a0446619aaa2b81e6b36f9055cb failed. @ http://unhostedtunes.hellacoders.com/playlist/7064FA10-E8B3-4764-9AE7-997DCE1C4E48/Noise
[14:38:17.706] GET http://api.soundcloud.com/tracks/9693627/stream?client_id=857a8a0446619aaa2b81e6b36f9055cb [HTTP/1.1 302 Moved Temporarily 49ms]
[14:38:18.239] GET http://ec-media.soundcloud.com/jGiGjqp3mDTi.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b0339595665ff0d00e916180bb4e8bb6189a42ea84be24dac640f61b2e0d471e0d27016bcbbe92d761e22bf44a515f8&AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQ&Expires=1365252200&Signature=zrbC2ekDjlOrBfRxc3H1lcIRogA%3D [HTTP/1.1 206 Partial Content]
[14:38:18.132] HTTP "Content-Type" of "audio/mpeg" is not supported. Load of media resource http://api.soundcloud.com/tracks/9693627/stream?client_id=857a8a0446619aaa2b81e6b36f9055cb failed. @ http://unhostedtunes.hellacoders.com/playlist/7064FA10-E8B3-4764-9AE7-997DCE1C4E48/Noise
[14:38:19.044] GET http://api.soundcloud.com/tracks/7974262/stream?client_id=857a8a0446619aaa2b81e6b36f9055cb [HTTP/1.1 302 Moved Temporarily 49ms]

It loads the album cover but not the song. It just keeps looping through the list, with no way to stop except reloading (the pause button does nothing).
This is a bit strange since Youtify works on Firefox (at least with SoundCloud).



Anyhow, I added some short playlists with songs, check them out at http://unhostedtunes.hellacoders.com/profile/j...@5apps.com :)
Hope you put it on Github soon so we can contribute!


Reply all
Reply to author
Forward
0 new messages