13 ms·
Oggify: Download Songs Directly from Spotify
- Casteil 5y agoThis is a good way to get your Spotify account banned.
- cupofjoakim 5y agoProvided it's covered in T&C I guess.
- thebiblelover7 5y agoWouldn't that be kind of bad for Spotify? They lose a customer. Maybe they don't care losing one customer for making sure their music stays private.
- perlgeek 5y agoSpotify has to do something against things like this, or else they risk losing their music suppliers. Which is way worse for than losing 0.001% of their customers. (I don't like that it is this way, but you cannot argue from an economic perspective without considering the other economic pressures on the company).
- mschuster91 5y ago> Spotify has to do something against things like this, or else they risk losing their music suppliers. Why should the music industry care? Their utter majority of non-live gig income is the streaming services [1], and cutting off the biggest player would be a completely dumb move. Piracy of music is all but gone anyway since Spotify, Apple Music and others made music extremely affordable for large parts of the Western populations - one might argue that Spotify and the few pirates that remain are both needed as funnels towards live gigs. One can say, the music industry, the fans and pirates are in sort of an equilibrium. In contrast, the movie industry is in a different bind... many people who watch a pirated movie won't go to a cinema (the closest equivalent of a "live gig"), so every case of movie piracy is a direct hit towards their profits - and the movie industry largely can't make these losses up by selling merch instead, and unlike the music industry which has a lot of dedicated whale fans going to all gigs on a band's tour the movie industry can't even have that unless the movie is really good (Avatar) or culturally significant (Avengers Endgame). [1] https://www.musicbusinessworldwide.com/with-15bn-revenue-2021-was-the-us-record-industrys-biggest-ever-year-kind-of/ https://www.musicbusinessworldwide.com/with-15bn-revenue-202...
- GekkePrutser 5y agoSo you just create another one? :) I don't think it's much of a deterrent. At worst you lose up to $10 if you are paying for it.
- keyle 5y agoDMCA take down and what not in 3... 2... 1... Edit: wait, 2019? What gives? How is this not taken down? You can't even take a screenshot of a Netflix show, thanks to DRM; but you can download Spotify tracks?
- dewey 5y ago> You can't even take a screenshot of a Netflix show, thanks to DRM; but you can download Spotify tracks? There's also a lot of tools to rip movies from Amazon Prime or YouTube to MP3 sites. It will never be possible to take down all of them, especially if they are not located in the US.
- zelphirkalt 5y agoIf done cleverly, it will be indistinguishable from normal use, so it is technologically infeasible as well, to try and prevent it entirely.
- blowski 5y agoI would have thought it's easy to distinguish when you download a 250MB video in 10 seconds without opening the YouTube client, so I'm always surprised those clients work.
- drawkbox 5y agoSome use headless Chromium/Chrome like Puppeteer or other to mimic usage directly. At that point only pattern detection would work i.e. downloading too many files one person could consume or other fingerprinting.
- zelphirkalt 5y agoHeh, that's not what I would call "clever" though ; ) You can add delays artificially, you can add random, but seemingly human pauses (people sometimes pause playback) etc. I am surprised as well though, that tools still work without having to go to these lengths. perhaps because devs on the other side of the thing know, that they would only trigger a more sophisticated tool to be created.
- lazzlazzlazz 5y agoIt looks like this repo is a few years old. Does it still work? If not, are there other alternatives that download directly from Spotify? I've looked for something like this on-and-off the last few years, and most viable options seem to use a Spotify reference to find the right metadata to download off another service, like Deezer.
- LeoPanthera 5y agoYou might as well go all the way and search your favorite BitTorrent trackers for some lossless rips. If you're willing to indulge in piracy you might as well get something better out of it.
- ED_Radish 5y agoSpotify does have a lot of tracks on there that i cannot find elsewhere (not on any trackers, not on deezer, not even on youtube for that crisp 128kbps).
- dt2m 5y agoDeezer is still the best bet.
- thebiblelover7 5y agoIt is working pretty well for me so far
- buro9 5y agoThere are a number of projects that do this, and some are paid. Do they work? Yes. Do you want to do this? Probably not. Why not? Spotify does not have lossless / Hi-Fi audio yet and what you're getting is a lossy transcode. You would be better doing something like this with Deezer or Tidal (insert other competitors here) that offer a lossless format. Whilst I've not done this, I would probably advise that if you are doing this that you strip the resulting file of all meta-data (everything!) and then use MusicBrainz Picard to add clean metadata back.
- dale_glass 5y agoSometimes music disappears from Spotify for various reasons. Also, I listen with bluetooth headphones, and bluetooth has its own lossy compression on top of the original anyway.
- Fnoord 5y agoSame for YouTube but with Spotify you at least know what has been deleted. With YouTube such metadata is axed, too. Pathetic. A good reason for Oggify and YouTube-dl (or a fork).
- rollcat 5y ago> Also, I listen with bluetooth headphones, and bluetooth has its own lossy compression on top of the original anyway. The effects of lossy compression do stack, so you're making a bad problem worse.
- marginalia_nu 5y agoIf you (like me) can't tell the difference, is it really a problem in the first place?
- rollcat 5y agoI absolutely don't mind lossy compression, until I can actually hear it, at which point I can't bear to continue listening.
- yardstick 5y agoI don’t know if they still support it, but their premium service used to have an open API that included streaming the audio to your program, which you could write as a wav then convert to your format of choice. This was over 5 years ago at least. And I have to assume (storing/converting) it was against the T&Cs then too, rather than the intention of streaming.
- comprev 5y agoNeeds (2019)
- fragmede 5y agoWhy do I want a pile of .ogg (or .mp3) files? ? Back in the day, having a huge library of files on a disk, a carefully curated collection from which to burn a mix CD to present as a gift to a romantic (or platonic) interest was worth the world. Times have changed though, and that carefully curated mix CD full of mystery - what will the next track bring? - these days it's still just as carefully curated, but it's a link to a Spotify playlist. Music hasn't (quite) fragmented the same way video has, with Netflix, Hulu, Disney, Paramount, CBS, HBO, YouTube and so on all having paid options, but having a spotify account with apps on all devices is just so much easier.
- qwertygnu 5y agothen this isn't for you
- dt2m 5y agoCollectors, DJs, artists and music enthusiasts all still have a great need for actual files. For the average user it might seem dumb, but to me, my Spotify/Apple Music/YouTube Music libraries all seem frail and there are multiple instances of songs being remastered and replaced, as well as artists changing the final versions after initial release (Kanye West comes to mind for one).
- hajhatten 5y agoDJ's should be paying for the music they're playing. There are streaming options for them to use nowadays aswell. Take Beatport Link as an example: https://link.beatport.com/ https://link.beatport.com/
- NaughtyShiba 5y agoAlso, using .mp3 as DJ is unwritten crime.
- deleted 5y ago[deleted]
- PhilipTrauner 5y agoNeat, but I seriously hope that it doesn’t become popular enough to force Spotify to combat client reimplementations such as librespot, which this is based on.
- nerdponx 5y agoAlso Mopidy, which lets you use Spotify from any MPD client. I suspect that secretly there are some people at Spotify who are sympathetic to open source and/or use Linux, and have convinced the business people and bean counters that not being openly hostile to free software is good business. I have mixed feeling about Spotify in general, but it's still not as "closed" of a platform as it could be, and I'm at least a little bit happy about that.
- salmonlegs 5y agoI used a different piece of software to do this for DJing (Sidify) and my account got locked. I was given a warning and my account was unlocked the next day, but, Spotify can detect this
- fleaaa 5y agoAfaik it uses its own recording channel, which can be fingerprinted by them.
- allenleee 5y agoThe audio quality of music on youtube is way better. Ytdl is a good option too.
- thebiblelover7 5y agoThat is true, but sometimes YouTube versions are different and sometimes the songs are not even available on YouTube
- Bancakes 5y agoHow do you know that it's better? In my experience, everything is reencoded and lossy.
- aiilns 5y agoIsn't Spotify serving 320kbps .ogg files? How is YouTube better?
- retSava 5y agoAlso, spytify, for those that are afraid of providing or using your credentials. Disadvantage, can't fast forward, just record in realtime. https://jwallet.github.io/spy-spotify/overview.html https://jwallet.github.io/spy-spotify/overview.html
- Hamuko 5y agoIs it just recording the data to an MP3 file? If so, doesn't that mean that there's a loss in quality?
- input_sh 5y agoWhat loss in quality? Unlike some if its competitors (Tidal HiFi, Deezer Premium, etc), Spotify streams in mp3 quality and they get recorded as such. There are some leaks indicating that Spotify is working on a higher quality plan, but it hasn't happened yet.
- Rygian 5y agoRe-encoding an mp3 results in a worse mp3.
- skrebbel 5y agoWhen Spotify plays the audio, there's small, generally inaudible MP3 artifacts in the output. When you record that audio and re-encode it to a new MP3 file, these artifacts get re-encoded again, as part of the track, plus new artifacts get added. It's the same as re-encoding a photo to JPEG repeatedly. Every time you save (esp if the quality settings are a little bit different each time, or if a different encoder is used) you get a few more artifacts. At high enough quality settings though, you can do this many times before the result is noticeable. So I bet the quality from re-encoding a Spotify song once is inaudible to most people, just like you can brighten a JPEG and save it without suddenly seeing lots of rectangles everywhere.
- dav_Oz 5y agoReminds me of those good ol' days of what.cd interviews ;) A bad transcode means that during the transcode process, the file has either been converted to a lossy format more than once, or the file has been converted from lossy to lossless. Bad transcodes are prohibited on What.CD.[0] [0]https://opentrackers.org/whatinterviewprep.com/prepare-for-the-interview/transcodes/index.html https://opentrackers.org/whatinterviewprep.com/prepare-for-t...
- sva_ 5y agoI used this to download podcasts off Spotify, since the official mobile client is pretty horrible.
- hhmc 5y agoWhy not just use a different, superior podcast client?
- Kichererbsen 5y agoI think that's what they're getting at: Download, then use client of choice?
- hhmc 5y agoBut podcasts are just RSS feeds of audio files, so the client of choice should be able to take care of the download without needing to take a trip through Spotify.
- sva_ 5y agoOkay, could you point me to the RSS of, say, The Joe Rogan Experience?
- hhmc 5y agoI'd argue it's not really a podcast if I can't.
- sva_ 5y agoStrange that your definition of what a podcast is supposed to be doesn't fit what I find at result #1 when searching for "The biggest podcast in the world". But I know where you're coming from. It sucks that Spotify is trying to turn this into a walled garden. Hence downloading the episodes, and listening to it in a better client
- 5y ago
- snvzz 5y agoThis is much more efficient than to download them every time you play them, which is the standard behaviour.
- Gigachad 5y agoThey don’t download every time you play them. They are cached. You can also download them in the app so they stay local and never redownload. You just can’t get them out of the app.
- snvzz 5y agoSo it takes the same space, without being equally useful? These streaming services are even worse than I thought they'd be. No way I'm ever giving up my local lossless audio collection.
- FabHK 5y agoWhat do you expect? A streaming service that gives you an "Export/Save as..." feature?
- IMTDb 5y agoFYI, these exist. They are called DJ pools. (Eg: https://www.zipdj.com https://www.zipdj.com) Cost is roughly $35/month
- comprev 5y agoIn addition, DJ pools often contain music and extended club mix friendly edits of songs. Radio tracks that might start off with just vocals might have a "extended club mix" which has a clean 16/32/48 bars of instrumentals before the vocal kicks in. The same for the outro.
- numlock86 5y ago> So it takes the same space, without being equally useful? Can you elaborate "equally useful"? The only problem I could see is that you can't play them anywhere but in the app. So what? If you were to copy them around (and most likely share with other people for free) you are violating their ToS (and other legal aspects) anyway. > No way I'm ever giving up my local lossless audio collection. Good news: You don't have to. Streaming services are called "streaming" services for a reason. You are apparently not the target audience and that's completely fine.
- rodoni 5y agoWorth mentioning is SpotiFlyer. You can download Playlist, Albums & Tracks in high quality without logging in also from other platforms. https://github.com/Shabinder/SpotiFlyer https://github.com/Shabinder/SpotiFlyer
- thebiblelover7 5y agoBig distinction from Oggify, as Spotiflyer downloads from Deezer/YouTube, so some songs may not be available
- GekkePrutser 5y agoAnd it sometimes gets it wrong too. The wrong song, or a live version or remix instead of the original.
- deleted 5y ago[deleted]
- tjoff 5y agoSomewhat related, is there a way to export all playlists from Spotify?
- thebiblelover7 5y agoI found this: https://github.com/caseychu/spotify-backup https://github.com/caseychu/spotify-backup
- precommunicator 5y agoYou can just use build-in "export account data" feature for that
- zorr 5y agoYou can export your account and there is also an API. A few API clients in various languages can be found on Github.
- isolli 5y agoI used this service once, it worked as advertised: https://soundiiz.com/ https://soundiiz.com/
- xtracto 5y agoThe one thing I'd like all spotify like services to have is a way to export play/like history in a standard format. I've listened, liked and disliked so many songs in so many services like pandora, rdio, grooveshark, last.fm, spotify, tidal. But all that information about me is locked and I cannot use it. If these companies offered exporting of this data in some standard JSON format, we could develop open source apps that analyzed the history and provided recommendations.
- raytube 5y agoI now just record the bit stream from digital out to mini disk from good quality streams! Lol.
- apples_oranges 5y agoI just got curious how the streaming services compare and googled this, perhaps interesting for someone: https://apps.voxmedia.com/graphics/theverge-music-streaming-comparison-table/ https://apps.voxmedia.com/graphics/theverge-music-streaming-...
- crgi 5y agoPlease take it down, you put the librespot project at risk.
- dubiousconst281 5y agoI've seen a lot of Spotify downloaders using librespot and similar. An interesting exception is Soggfy, which just hooks and dumps the ogg files from the Spotify client. https://github.com/Rafiuth/Soggfy https://github.com/Rafiuth/Soggfy
- VSpike 5y agoI've noticed that the offline experience on Spotify is utterly broken and has been for a while. I remember it being quite good when I first started using it, but it just seems to have got worse to the point of being unusable. I figured it was maybe just Android but my kids who are iPhone users said the same. We live in a rural area and use Spotify on the move a lot (on buses, car journeys, bike rides) and are often without signal so offline is essential. Maybe Spotify devs assume everyone has good 5G/Wifi and never actually test it out? Whatever the reason, having the option to make my own offline library to work around deficiencies in the service I'm paying £16.99 a month for seems like fair use to me (yeah, I know UK law has no such concept but I can sell the idea to myself at least). I might even dig out my old MP3 player as mentioned in other comments.
- Glaydur 5y agoYou didn't really specify how it's "utterly broken". As an anecdote, I've been listening to Spotify a lot whenever I drive or go jogging, all offline since I don't have data and it's been working well for me.
- CTDOCodebases 5y agoOffline? Try listening to a podcast. It has to be one of the worst pieces of software I have to interact with regularly. The second last podcast would skip back to the same timestamp every time I switched audio or exited the app. If they are going to charge money and still push adds at least give me the option to use an alternate client.
- y04nn 5y agoTo my point of view, sharing this is irresponsible, modifying librespot to download song on your computer is fairly easy and is a good learning exercise to learn Rust. But by sharing this work publicly, you increase chances that librespot will be blacklisted by Spotify and that accounts using it will be terminated. It's a shame, because there is many alternatives to the bad Spotify UI that rely on librespot that will also become blacklisted. There are legitimate uses of librespot and its use should be restricted to those, for the best of users and developers that spent a lot of time making librespot great.
- thebiblelover7 5y agoThat is true, maybe I should delete the HN listing. I actually would like to know how to modify librespot to do so, since I am not a developer or know any Rust at all. Thus this project seems useful to me.
- bartread 5y ago
- Kaze404 5y agoNo one was stoned in the bible for downloading MP3s.
- usrn 5y agoAnd if they were Jesus certainly would have stepped in to stop it.
- paulcole 5y agoWhat kind of theft (piracy for the pedants) did the Bible give the green light to?
- omniglottal 5y agoPedant here. Copyright violation is not theft. Piracy describes another act entirely, too. The bible gives a green light to share words and song publicly, and to duplicate freely for the masses what is in arbitrarily short supply. Even our modern, applicable laws do not mention theft, so you ought try to avoid strawmanning in the future and look up which millenium the DMCA was written for.
- deleted 5y ago[deleted]
- CyberShadow 5y agoA slightly-relevant project: https://github.com/CyberShadow/ripfs https://github.com/CyberShadow/ripfs Also, could this be the same pisto of RubberWorm fame?
- pisto_nopswmail 5y agoYes! How you doing? Nice trick with the customized email from cy.md
- michaelmior 5y agoArtists already get paid peanuts from listens on Spotify. It's a shame to see projects like this sucking more revenue away from them. If you really want a quality digital recording, they are generally available for purchase and without violating Spotify's ToS.
- forgotpwd16 5y agoThis requires premium account to work so for this aspect it isn't any different than downloading for offline usage in Spotify app.
- michaelmior 5y agoI'd be surprised if Spotify doesn't track plays even when you've downloaded music for offline listening. Also, using official features of the app doesn't violate their ToS.
- amag 5y agoIt is different because even in offline-mode Spotify keeps track of the number of times the song has been played in order to pay the artist the correct amount.
- metadat 5y agoYes, how dare those paying users download the songs. Fuck them! They should pay for every byte every time, forever!!! /s
- michaelmior 5y agoIf you're paying for a streaming service, then yes. If you want to pay to download the songs, then do that. Most artists have avenues where you can do so. You seem to think that if users are paying for a streaming service that explicitly disallows making copies, those users should still be entitled to make copies.
- metadat 5y ago
- nowahe 5y agoAnother project worth noting is Streamrip[1] which does the same but for Tidal/Deezer/Qobuz, and outputs FLACs. [1]: https://github.com/nathom/streamrip https://github.com/nathom/streamrip
- collegeburner 5y agoUsed to be you could get FLAC from deezer without even having an account... they patched that :'(
- patwolf 5y agoBack in the day I wrote a tool to save songs from Pandora. It was basically an http proxy server, so I'm sure there were dozens of similar tools floating around. However, I never ended up listening to any of the songs I downloaded because it was never as convenient as listening to Pandora. I imagine the same thing with Spotify. Even if I had every song in existence downloaded in lossless format, I'd still use Spotify to listen to music.
- oauea 5y agoI used to be in the same boat, mostly due to Spotify's recommendation algorithm. Unfortunately they've since removed all ways of giving it feedback about what I like, and now it just recommends the same few songs over and over and over. Might have to go back to downloading, at least playback will be more reliable.
- anthonypasq 5y agoyou can already download your spotify songs...
- oauea 5y agoYou can cache them in the spotify client. I was referring to the other kind of downloading.
- rubyist5eva 5y agoThis is piracy and a crime.
- lvl102 5y agoDo we really need to steal music from artists? Spotify and Apple Music is already cheap enough. Not to mention the convenience of not wasting my time managing illegally downloaded music. People really have time for this in 2022?
- backspace_ 5y agoHow do you still music from an artist? Are they no longer able to perform the song anymore after it is stolen? Isn't piracy about making copies of a file instead of theft?
- lvl102 5y agoHonestly? Grow up.
- lesgobrandon 5y ago
- Shadonototra 5y agothis is piracy