9 ms·
Show HN: CloudTunes
- tuananh 12y agosorry but what's the use case for this?
- colinramsay 12y agoFor one: you can play your music collection from any location if it's stored on Dropbox?
- tuananh 12y agowell it was an honest question. I don't see myself doing this so i just simply ask. There's no need to downvote.
- __david__ 12y agoYou were downvoted because of the tone of your comment—it comes across as snarky and dismissive, even if you didn't mean it that way.
- mikewhy 12y agoisn't that kind of inherently possible due to the nature of Dropbox? Albeit this has a proper UI. Plex, for instance, does this and much more provided you have a collection not in a cloud.
- aroch 12y agoPlex however relies on you either have 1) a good home connection (with no caps) or 2) a server "in the cloud(tm)". Dropbox provides the backend hosting, which makes providing the data files easier.
- nickpapa 12y agoTo have access to your music library from a web browser.
- general_failure 12y agowhy the downvotes? the parent comment is not rude and is asking a genuine question (in fact, he is apologetic). downvotes is a tool for marking irrelevant/obnoxious comments which don't help discussion. this question definitely helps discussion.
- spindritf 12y agoWhat about music stored on the server on which CloudTunes is running? Can it play that?
- jkbr 12y agoThat currently is not possible, but wouldn't be very difficult to implement as I had it in mind from the beginning. Inspiration could be the Dropbox integration: Client-side model: https://github.com/jakubroztocil/cloudtunes/blob/master/cloudtunes-webapp/app/models/media/sound.coffee#L53-57 https://github.com/jakubroztocil/cloudtunes/blob/master/clou... API endpoint: for local files, it could simply serve the file: https://github.com/jakubroztocil/cloudtunes/blob/master/cloudtunes-server/cloudtunes/services/dropbox/handlers.py#L102-135 https://github.com/jakubroztocil/cloudtunes/blob/master/clou... Plus it would also need indexing, configuration, and to introduce a new media type across the app.
- __david__ 12y agoWould it be hard to add support for a WebDAV backend? Looks like XMLHttpRequest supports PROPFIND…
- oswjk1 12y agoThis should be able to do it: https://github.com/Darep/Beatstream https://github.com/Darep/Beatstream
- avinassh 12y agoamazing!
- Koldark 12y agoWhat about OneDrive and Google Drive support?
- joelrunyon 12y agoThese comments make sense from end-users but I feel like they're out of place on HN. I mean, sure OneDrive & GoogleDrive support can obviously be implemented down the road, but especially when first showing the idea off - it's way easier to keep it simple and get feedback to improve the product and then later integrate with more services. These comments remind me of the few apps I've put out that start with an iOS version so we can collect / data & feedback so we can make future versions (on both platforms) better, but that info almost always gets shouted down by chants of "why not an android version?" The obvious answer of "it costs 2x time and resources" to get the first version out, almost always gets completely ignored. Let's give feedback on this version - help him improve it & then worry about the other service integrations later.
- scott_s 12y agoI think you're taking the question as a veiled criticism. It's possible the question is just a question.
- joelrunyon 12y agoI don't think it's criticism, it's just not the most useful question they could be asking at this point in time. If he's showing off a new project - I think it's probably best to help improve what he currently has now and then worrying about the integrations later
- scott_s 12y agoConsider the perspective of someone who has never heard of a new piece of software before. They just want to know a bunch of things about it, so they can form a concept of it in their mind. This is one such question. I don't disagree with what the author's focus should be, but I don't think that this question distracts from that.
- why-el 12y agoVery well done. Where can we see it running live? Your domain name redirects back to Github.
- jychang 12y agoThe demo probably isn't ready yet. I would love to see a video of this thing, it looks awesome.
- jkbr 12y agoIt's not running anywhere right now, sorry about that. That is because the app is not really ready for public production use. As mentioned in the README, I've kinda stopped working on it some time ago. I think it could still be interesting/useful to people who want to run in even in this state by themselves. The codebase also hopefully has some interesting bits, so I've at least opened it up for now. Another thing is that the backend talks directly to the Musicbrainz API, which is throttled (their DB is open though, so one could make a web service on top of it).
- toomuchtodo 12y agoCould this support playing music from S3 and storing/reading metadata as S3 headers? I currently store about 200GB of music in Amazon Cloudplayer, which has recently gone sideways with their push towards Music Prime. I'm currently ripping all my music out and putting it into S3.
- alfg 12y agoStoring/reading from S3 would be great. I'm also interested in the answer for this.
- RexRollman 12y agoThat's the problem with the main Music Lockers: they keep integrating music stores into them. All I want is to upload my music and play it remotely.
- deleted 12y ago[deleted]
- dublinben 12y agoYou can run Subsonic on your own server or a VPS.
- RexRollman 12y agoThanks for the info. I never really considered running my own but that might be worth doing.
- stoplight 12y agoThere's also a really great Android app called DSub that integrates really well with it (https://play.google.com/store/apps/details?id=github.daneren2005.dsub https://play.google.com/store/apps/details?id=github.daneren...)
- vincentkriek 12y ago
- Sir_Cmpwn 12y agoI once wrote a simple web-based multiplayer music player to test out my roll-your-own web framework: https://github.com/SirCmpwn/staccato https://github.com/SirCmpwn/staccato You might consider a jukebox mode where several listeners are synced up and can suggest songs.
- suprjami 12y agoMore shameless self-promotion: https://github.com/superjamie/playlist-generator https://github.com/superjamie/playlist-generator It's just a PHP file lister and audiojs, but it works on pretty much every modern desktop and mobile platform.
- jschmitz28 12y agoReally cool. At first glance it seems to me like there might be two products/services here - one that is what you have here minus YouTube and other publicly available media sources, and another centralized web app that provides users access to all public media without having to run their own server. Maybe they could be integrated in a way where users can add their own media sources through the centralized web app to have it all in one place.
- squeaky-clean 12y agoReally cool idea. Who hasn't thought of doing this before? Congrats on actually making it, and making it look beautiful. Already forked it, can't wait to start playing with it. I don't see any mobile screenshots, how does it look on a phone screen? I can imagine that being a great use-case for this app.
- onaclov2000 12y agoI don't think he's the first to think of it, but definitely one of the few who actually built it, I started once a while back, but never got very far...LOL
- onaclov2000 12y agoAlso I was just wondering if it has a mobile component, guess I hadn't thought of that....I could play music on my computer no problem, it's on my phone that is ideal :)
- jkbr 12y agoThanks! I'm pretty sure though that I'm not the first one nor the last one to have ever thought of that :D The design is fluid but not really responsive. What I've been playing with is remote control that worked great on mobile devices. You were able to control all of your active CloudTunes sessions from any connected browser. So you could for instance play music on your computer, and control it via your smartphone (just like the iOS Remote app from Apple can control iTunes, except this worked over the internet so you didn't need to be on the same network). It was a very crude prototype though so I didn't include it in the initial release.
- shortstuffsushi 12y agoJust out of curiosity, why did you fork it immediately? Did you find issues you wanted to fix, code you wanted to change, something else?
- squeaky-clean 12y agoI didn't see any mobile screenshots, or much code that seemed responsive, so I assumed it wasn't mobile friendly and wanted to try fixing that. And the comments below about it supporting Dropbox, but not music stored on the local server (and the tips from OP about how to implement it), is another goal I'd like to tackle. I don't know if I can implement these, but I'm certainly going to try, and I'll learn a lot in the process. Also I've had this idea a million times before, but never committed to doing it, it's the kind of product I've always wanted. So seeing it on GitHub (and written in a language I'm good at) makes me really happy, and I'd love to tear into this thing. Edit: Also it's very pretty, and I'm a sucker for anything with a pleasant UI like that.
- poncytwit 12y agodisappointed. Single-page app relies on flash technology.
- jkbr 12y agoWhen I was working on the YouTube integration for CloudTunes (looong time ago), there wasn't an HTML5 <video> based API. Is there one nowadays?
- deleted 12y ago[deleted]
- MeoMix420 12y agoYouTube now defaults to using the <video> element unless the video would show an advertisement. In those scenarios, it falls back to using the flash player.
- wj 12y agoWith Dropbox upping their quotas I was literally thinking about this two days ago! I look forward to checking this out. Going to take me quite a while to finish uploading my music though.
- hnriot 12y agobetter ensure it is indeed your music, because Dropbox will likely report infringements of copyright
- wj 12y agoDon't they only do that when placed in shared folders? Some of my Dead could maybe cause a problem (though it was all once freely available on archive.org).
- meowface 12y agoImagine the uproar if Dropbox started removing files from people's personal, private folders due to alleged copyright infringement. They could theoretically do this in a way that doesn't really invade privacy (by using only hashes), but the controversy would probably kill Dropbox.
- RexRollman 12y agoSo long as it is no being publicly shared, Dropbox shouldn't have an issue.
- higherpurpose 12y agoMusic in Dropbox? Who keeps music in DropBox's 2GB of free storage? (I'm assuming market who pays for DropBox storage is a lot smaller)
- pbreit 12y agoI've always thought it might be interesting to have apps like this that run locally on web technologies. Is there hope for this model? One obviously shortcoming as exemplified here is the painful installation process. I suspect people are also going to be concerned with what's being installed where.
- smrtinsert 12y agothere is if we can agree on a base tech (node.js for example), an app store model, and the environment is sandboxed. this would let people produce apps that would work everywhere - from raspberry pis to pcs to macs. also sadly, some sort of drm should probably exist.
- jkbr 12y agoI'd been planning on releasing it together with a Dockerfile so that people could easily run it locally in an isolated container. It turned out to be a bit more complex than I had anticipated so Docker support will come later. But I think that could be a viable model for locally-installable web apps in the future.
- jkbr 12y agoBtw, help with the Dockerfile would be appreciated: https://github.com/jakubroztocil/cloudtunes/issues/2 https://github.com/jakubroztocil/cloudtunes/issues/2
- jkbr 12y agoAlready dockerized! https://github.com/jakubroztocil/cloudtunes#with-docker https://github.com/jakubroztocil/cloudtunes#with-docker
- orky56 12y agoI definitely second this. As we move towards multiple devices with predominantly flash storage, the device should be responsible for serving the content rather than storing it. The more we can move towards these types of apps, the better.
- sinemetu11 12y agoCloudPlay is a similar app for Mac. It has pretty good shortcut integration. http://cloudplay.fm/ http://cloudplay.fm/
- zymhan 12y agoThat doesn't seem to support music you already have though, which is a pretty big feature of Cloud Tunes.
- jamestomasino 12y agoI got banned from Dreamhost about 6 years ago for building something almost identical to this for my own use. We've come a long way.
- Grandeon87 12y agoCould I integrate this with my server cough seedbox cough
- dewey 12y agoIt's probably easier to use Subsonic for that, it's build for dealing with local files. [0] http://www.subsonic.org/ http://www.subsonic.org/
- xzel 12y agoI've tried to use subsonic and madsonic (a fork of subsonic) before. I didn't like either of them much nor did I like the phone apps to accompany them (many are paid apps as well). I'm gonna look at this project tomorrow and see if I want to undertake a server port. I think it would be viable.
- dewey 12y agoAgreed, the mobile apps are mostly ugly or abandoned and the server software itself still uses a flash player. It's just something I put up with because there's no better alternative at the moment.
- xzel 12y agoI'll see what I can do about it ;) I just found this from some of the comments above http://ampache.org/ http://ampache.org/. I'm gonna install that and see how it is, but I really think I'm going to move forward with trying to integrate this with a seedbox type of server. Since the client is done in JS as well it could be practical to port that to Android and iPhone also.
- dewey 12y agoSounds good, I'll be watching the repo. If you need someone to test it on a server with a bunch of music on it let me know.
- 12y ago
- hrrsn 12y agoHow does this handle YouTube's advertising?
- zend3v 12y agoI'm going to try and get this working with MEGA cloud storage, since you get a 50gb capacity account for free.
- girvo 12y agoNice work! I personally use ownCloud (which has Ampache support) for my streaming of my library, but this is a really nice job. I might see how hard it is to integrate into ownCloud :)
- socceroos 12y agoLet me know how you go! I use ownCloud/Ampache too.
- maz29 12y agoFor anyone interested I made something similar for iOS. Supports Dropbox, Google Drive, Mega, and Box. http://vibe.pw/ http://vibe.pw/
- virmundi 12y agoFor the love of possible users, put some sort of scrolling indicator on the page. Firefox in OS X doesn't show scroll bar. I spend about a minute clicking on the slant phone and the name in the top right before accidentally causing the page to scroll down.
- ertdfgcb 12y agoOooh, this seems like a perfect app for sandstorm (sandstorm.io)
- MeoMix420 12y agoHey, This is really nice. Would you mind chatting with me sometime? I'd love to pick your brain or even just converse with someone who has similar interests. I've spent the past two years developing Streamus, https://streamus.com/ https://streamus.com/, an open-source music player which runs off of YouTube as a browser extension; it has 130,000 users currently. Hit me up if you want to chat! admin@streamus.com and if you'd like to browse the repo, https://github.com/MeoMix/StreamusChromeExtension https://github.com/MeoMix/StreamusChromeExtension
- lips 12y agoHoly cow. Streamus is a dreamus. I'm really digging this.
- relaxitup 12y agoHow about adding support for a seafile server?
- reubano 12y agoWow, really cool. Since you're already using brunch [1]. You should checkout chaplin [2]. It's a backbone framework built by the same guys who made brunch. It supports coffescript, pub/sub, dynamic url construction, plus a bunch of other features that make working with it a breeze. [1] http://brunch.io/ http://brunch.io/ [2] http://chaplinjs.org/ http://chaplinjs.org/
- jkbr 12y agoThanks for the tip. I actually did originally start with Chaplin. It helped me to start quickly, but later I replaced it with a very simple, custom Backbone-based MVC (Chaplin-inspired to some degree).
- reubano 12y agoInteresting... you mind explaining the reason for switching? If it was missing functionality, I'm sure the team would appreciate pull requests. I'm often dismayed that angular is grabbing all the spotlight these days and not many new web apps use backbone in general or chaplin in particular.
- jkbr 12y agoThere is a tradeoff between speed of development and degree of customizability when it comes to frameworks. With CloudTunes, I was going for a highly-customized and performant UI, and at some point it simply became easier to go back down by one layer of abstraction and build it just with Backbone instead.
- zz1 12y agoWould be great to have this interface for MPD!
- jkbr 12y agoOh, that's an interesting idea :)