Git Product home page Git Product logo

spy-spotify's Introduction

Spytify Logo

Build status AppVeyor tests Latest release Downloads Sub Reddit Donate Issuehunt

Spytify is a Spotify recorder for Windows which records Spotify audio without recording or playing ads. It automatically splits songs into separate tracks and records to WAV or MP3 with media metadata, meaning you can easily start enjoying your music offline.

Spotify Recorder logs

Spytify records what Spotify outputs, which is a longer process than downloading a Spotify playlist with a tool.

However, Spytify ensures that all tracks will be the official released one, all sound volume normalized and with media tags and album cover. Playlist Downloaders get mostly all tracks from YouTube which means that they can't guarantee the choosen track will fit 100% the one in your playlist and they will all be the same quality.

Spytify encodes to the same quality that Spotify outputs (Spotify Free 160kbps, Spotify Premium 320kbps), so the recorded copy will be indistinguishable from Spotify’s one.

Spytify is meant to be used with a Spotify free account, even better a fresh new one (Spotify may monitor your account activities).

Follow the steps shown in the F.A.Q section : How to install Spytify?

A standard use is to install the Virtual Audio Cable and start a recording session on it using your favorite playlist and let it record overnight, so you avoid waiting for it to end, because Spytify does not download but records. You will then get all your songs automatically split into separate tracks without ads and with metadata.

A recorder requires a good sound card to be able to record good quality, that's why Spytify comes with a Virtual Audio Cable device, if you have issues with your sound card (volume slider and other apps sound affects the recordings, or overall recorded sound quality is worst than Spotify) you can install this virtual device using the Speakers+ icon in Spytify settings.

Don't forget to hit the F.A.Q. for tips on:

Splits the recorded sound into individual tracks using the artist and track names as the title, like so:

Artist - Track.mp3

Saves all recordings under the same path:

../My Music/

Automatically adds metadata from Last.fm (or Spotify API) to .mp3 file:

  • Last.FM : Spytify won't need to be connected to Spotify. It's safer than Spotify API, however the metadata won't be as accurate as the official API.
  • Spotify API: You need to create your own Spotify API keys and set it in Spytify. Doing this gives better metadata results, however because you are connected to Spotify API, it's easier for them to know that you linked an app that fetches album cover. So you might get a warning from them using this API, but since Spytify does not download directly from Spotify (using the Connect API to receive OGG files which requires Premium), you have less chance to have your account suspended. Anyway, just to be sure, create a new one.

Recorded songs with album cover and media tags in Windows Explorer

Spytify runs on Windows only.

  • Microsoft Framework (.NET 4.6.1 or higher).
  • Spotify Desktop application.

A free Spotify account will work and its recommanded since Spotify may monitor your account, so go create a new one! However, Spotify restricts audio quality to 160 kbps. Having a Premium Spotify subscription will enable recording of up to 320 kbps audio.

Support Spytify

😃 If you like Spytify, you can help me out for a couple of beers 🍺 or give it a star ⭐

spy-spotify's People

Contributors

cosmost4r avatar davbra98 avatar jwallet avatar kohenkatz avatar n3rdium avatar stevehayles avatar venablesa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spy-spotify's Issues

Spotify didn't connect to the local API, please try again.

What is the bug ?
"Spotify didn't connect to the local API, please try again."
Spytify is unable to connect to the "local api" regardless of what ive tried;
1- Running spotify with admin
2- Running EspionSpotify.exe with admin
3- Rebooting
4- Running on a second machine
5- Using the windows 10 app for spotify
6- Using the desktop exe app for spotify
7- Changing firewall settings for both Spytify and Spotify
8- Disabling the firewall outright

How to reproduce it or what's the expected behavior ?

Open EspionSpotify.exe
Press start

Screenshots
image

Integrate Spotify API

Hi,

me again :-) In the past I already integrated the Spotify API to pull track/album information from the Spotify API. I wanted to record now again a few songs and noticed that the local API is not working anymore. I had a look and Spotify is having the currently playing song (plus of course still the track/album details) available in their API. The thing is that authentication requires now a client ID+secret plus also needs the user to authorize the application to make requests on his behalf.

You said last time that you do not want to add such settings that require users to enter secrets from their Account into any third party app.

But just in case if you are interested I added the functionality as a proof of concept (not optimized for nice code). If you register an application in the spotify developer portal (https://developer.spotify.com/dashboard/applications) and set the client ID + client secret in the app.config it will use the Spotify API to get your real playing track and the metadata/images directly from Spotify.

Of course I can still understand that you may not want to add such code to your solution - but for me personally I wanted to have it and of course would also like to share it in case you are interested.

Here is the commit: eleasarchriso@5bebe07

Disabling Ads Breaks Daily Mix and Spotify Radio

What is the bug ?

Turning on DISABLE ADS makes the Daily Mix menu to disappear and the radio breaks

How to reproduce it or what's the expected behavior ?

Add a warning before disabling ads that it will break Spotify Radio and Daily Mix

"Format Not Supported"

What is the bug ?
It says my format is not supported even though it is set to the correct setting

How to reproduce it or what's the expected behavior ?
Run the program as normal, click spy, and then you get the error.

Screenshots

If applicable, add screenshots to help explain your problem.
maya_2018-09-16_13-22-30

Allow custom encoding settings

What problem will this new feature resolves?

Allows the user to record songs in higher quality. Currently, Spotify streams 320kbps Ogg Vorbis, which is higher quality than 320kbps MP3, generally.
Also, I believe VBR > ABR > CBR in terms of quality. Spytify is restricted to 320kbps ABR.

What feature or enhancement would you like to see added?

Allow the user to customize encoding settings so we can control the recording quality.
I mostly just want V0 VBR.

Error while recording (when trying to use mp3)

When trying to record under the mp3 option I am getting the error,
"Error while recording: Unknown exception: $Unsupported number of channels 8
Parameter name: format"

This happens only if the mode is set to mp3 (not wav) and I have tried adjusting other settings (such as bitrate and output path) but no success.

image

cracking in mp3 only not in spotify

What is the bug ?

A clear and concise description of what the bug is.
LP like cracking or jitter in mp3 only not in spotify play (v1.1.3.0)
How to reproduce it or what's the expected behavior ?
Steps to reproduce the behavior or describe the expected behavior:
record songs with silent passages
adding EspionSpotify to no defender task list does not help !
Screenshots
If applicable, add screenshots to help explain your problem.
grafik

No covers

Due to bugs on lastfm, some of the song don't have covers (and some don't download from img host). I think the best way now is to change method of gattering meta directly from spotify using api.

getting wrong console message when output folder does not exists

there is already a validation if a user try to set an invalid path, but he sets it and then deletes the folder in windows explorer and start the spying session it will say:

//Error while recording: Your computer audio format is not supported. 
Format needs to be '2 channels, 24 bit, 48000 Hz (Studio Quality)' 
(Control panel > Sound > Properties > Advanced).

instead, it should stop the session and say: // Error: the output path does not exists anymore

96000 kHz

Any support for recording at 96000 kHz ?
Edit - 48000 kHz working fine for me. I don't even really know if 96000 kHz @ 160kbps is going to make that much of a difference. Can close if this isn't planned for the future.

Implements Spotify local API

local url

instead of using the process to get infos, use the local api to get these :

  • Get track title
  • Get artist name
  • Get album title
  • Get song length
  • Get current track position
  • Check if the track is an ad
  • Check if Spotify is playing/on pause
  • Get album art

with the track, artist and album, we can find other infos using last api if available :

  • get first genre tag (search for toptags/tag/name)
  • get album arts from them since spotify only provides 1 art instead of usual 4
    • small (search for image[size='small])
    • medium (search for image[size='medium'])
    • large (search for image[size='large'])
    • extralarge (search for image[size='extralarge'])
  • get track number on the album (search for tracks/track/name, get tracks/track/@rank)

Remix does not show up in track title

If you record a track with the following structure. "Title of track - Example Artist Remix" and "Group every artist by folder" is selected it won't show the remix line so the folder structure will be: ...\Original Artist\Title of Track.mp3 without the "- Example Artist Remix" behind it.

Here some screenshots to clarify.
image
image

The folder setting is being ignored in Windows 10

Changing the Settings > Output path: variable appears to have no effect on where the music is saved. Opening the output path using the browse button within Spytify does open the folder specified in the output path but it is empty. The music is actually being recorded in the default path %HOMEPATH%\music

How to reproduce it or what's the expected behavior ?
Change the output path and see where the music is recorded

Screenshots

If applicable, add screenshots to help explain your problem.

Multi channel error

i always get
// Error while recording: Recording multi-channel files is not supported, reduce the number of channels to 2 (stereo) or 1 (mono).

i use the default stereos settings through, no enable virtual suround sound or anything like this

Intl chars issue, mute others apps, mp3 combined issue

Okay so i'm a complete beginner at github and i'm not really sure how this works but i've run into a couple issues when using the program which i wanted to report, they're all minor issues and i'm not sure if i'm doing this right but here goes:

  • skipping songs does not records the right length - related #22

After I ended recording a set of songs and started a new one, I skipped the first song which prompted it to skip because it was too short and then the next two songs recorded had their set lenght as 16:59 and 25:22 even though they're 4 and 6 minutes long. I've tried it again and i played 3 songs normally which had the correct length and the 4th one had 12:40.

[INVALID] only possible if the PC has more than one sound card, can't listen to anything else while recording

Also I'm using the Windows Store Spotify app (i can't find the desktop installer) and in most aspects it works fine, however it doesn't mute some other applications when recording. For example i played a youtube video in the middle of recording a song and i could hear it when I replayed the song later. Perhaps I just misunderstood how this is supposed to work? (I mutes system sounds and steam but it doesn't mute Chrome for some reason)

  • international characters not being displayed properly in the names of files (meta data are fine)
  • can't create directories using international chars

Japanese/korean characters aren't being displayed in the program and in the names of files but are still being registered (as unacceptable characters i guess?) because when i tried copy pasting the blank space which got blued out into chrome, the google doodle disappear but clicking enter didn't result in a search but rather stayed on the same page ) THEY ARE however correctly displayed in the metadata (the names of songs and artists).
Also when the artists name is in japanese/korean, having the option to create a seperate folder for each artists it won't create a folder but rather just place the track there

Thanks for the program btw, a real life saver

Some recorded tracks end a little too soon

Hi, I'm using Win 7 32bit, Spotify 1.0.77.338, Spytify 0.810 and I'm recording to WAV files and mostly audiobooks.

It's not uncommon that the narrator of an audiobook speaks up to the last second of a track, so Spytify is truncating sometimes the last word/s.

Thanks in advance!

Antivirus issue

The file c:\users\user\downloads\spytify-v1.1.0.1\spytify.exe is infected with Atc4.Detection and was moved to quarantine.

Stop recording on track end

What problem will this new feature resolve ?

When recording long playlists and stopping in the middle, i have to perfectly stop playback at the end of a track, otherwise i end up with an incomplete recording. There are ways to work around it, but it's tedious.

What feature or enhancement would you like to see added ?

A Button (or maybe checkbox) that makes the recording stop after the next track has ended. This way i can just press the button, wait a bit and everything is fine.

Songs are identified as Ads

What is the bug ?
A song is identified as an Ad.

How to reproduce it or what's the expected behavior ?
Play the song, it shows it is an Ad, while it is not.

More info
If I switch to another song and then play back the same song again. it starts to record it.

Not removing folder when track deleted

If the setting for "Group every artist songs inside their own folder" is enabled and the recorder deletes a recording (Ad or song less than x seconds) the recording is deleted, but the artist folder remains with nothing in it.

change input device

this tool is really nice and i like to use it so often :)
I have connected some audiocards to my computer with advanced configuration. my Spotify do not use the default audio output device and when i now try to use spytify i can not connect to spotify and cannot record songs.

i would like to see an configuration where i can change the audio input device in spytify. So spytify records just the sound from this device and not only my standard windows sound. This would be really nice because sometimes i recorded songs and got some windows sounds in the songs too ;)

or maybe i do not see the configuration. is it already possible to change the input device?

Pops and clicks in records

I tried on two different machines to get a good record result but any mp3 I record does have pops and clicks inside.

I used a premium account at 320 kbps.

grafik

Do you have any idea where it comes from?

Version 1.1.3.1 crashes on Win 10 Pro x64

Using Spytify v1.1.3.1 under Windows 10 Pro x64 1709 (Build 16299.125). Version 1.1.0.1 crashed after 1 or 2 songs. Version 1.1.3.1 now crashes after 1-5 songs. So the new version is a bit better but not crash-proof. Any ideas? Maybe you can improve some stuff like you already did for Win7? The program crashes immediately so I even cannot create a crash dump report for you using Windows Task Manager. I recognized that while recording the HDD load is almost 99-100%.

fix compteur

+1 si au lancement si une session a été lancée avant sans activer l'option.
+1 lors de la fin de session

Duplicate Recording

What problem will this new feature resolves ?
Well sometimes if I am using spotify and I want this thing to be grabbing music at the same time for later listening/on the go I might hit the same song that has already been recorded. This creates a duplicate recording which if your collection large it can be annoying (obviously not impossible) to track down and remove dupes.

What feature or enhancement would you like to see added ?
An ignore feature if there is a file of the same name already in the folder. A pref for this would be fine under advanced settings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.