Skip to content

swdotcom/swdc-vscode-musictime

Repository files navigation

Music Time for Spotify

Software.com

Music Time for Spotify is a VS Code extension that discovers the most productive music to listen to as you code. Music Time is built on the Code Time extension and performs machine learning against a range of music metrics plus productivity data from over 150,000 developers to determine song recommendations.

You will need the following to use Music Time:

  • Code Time: Our Code Time extension provides automatic programming metrics and time tracking. Music Time works with Code Time to combine your music and coding data to find your most productive music.
  • Spotify: To get started, you will need a Spotify account. We currently do not support Apple Music, Google Play, or any other players, but may in a future plugin.

Music Time features

Features

  • Integrated player controls: Control your music right from the status bar of your editor.

  • Embedded playlists: Browse and play your Spotify playlists and songs from your editor.

  • Song recommendations: Get personalized recommendations generated using machine learning to help you focus.

  • Personal top 40: See your most productive songs and artists every week in your weekly top 40.

  • Global top 40: Discover new music from developers around the world in our Software Top 40 playlist.

  • Music metrics: Learn how the underlying metrics of music (including tempo, loudness, speechiness, energy, and valence) impact how you code.

  • Slack integration: Connect Slack to share songs and playlists in channels in your workspace.

Getting started

Connect your Spotify account

Click Connect Spotify in the status bar or in the Music Time side panel. Music Time will prompt you to log in to your Spotify account. Once you have successfully connected your Spotify account, you can return to VS Code where you will now see your playlists and music recommendations.

Control your music and playlists

Open the Music Time side panel and click on any song in your list of playlists. Music Time may prompt you to open a Spotify player—either the desktop app or web player. The song you selected should begin playing automatically.

You can play, pause, rewind, and skip songs from the status bar of your editor using the Music Time player controls. You can like a song and add it to you Liked songs playlist in Spotify by clicking the heart icon. View the name of the currently playing song by clicking the heartbeat icon.

⚠️ Music Time requires a premium Spotify account and an internet connection to control your music on Windows and Linux. If you are using macOS, Music Time can also control the Spotify desktop app using AppleScript as either a premium or non-premium user.

Music Time player controls

Explore song recommendations

Music Time recommends songs by genre and mood based on your listening history. You can see a list of recommended songs in the Recommendations section of the Music Time side panel.

You can adjust the mood of Music Time's recommendations by hovering over Recommendations and clicking the beaker icon. Try happy, energetic, or danceable music for upbeat work or classical or jazz for slower, more complex tasks. For more granular controls, click the filter icon next to Recommendations to filter by 100+ different genres.

Find something you like? You can quickly add a song to a playlist using the "+" button when you hover over a song name.

Music Time recommendations

Like the currently playing song

Like a song from the status bar by pressing the "♡" button, which helps us improve your song recommendations and adds that song to your Liked Songs playlist on Spotify.

Discover the Software Top 40

Discover new music from developers around the world in a playlist generated by our algorithms. The Software Top 40 playlist is refreshed every week. You can explore the Top 40 playlist in the Music Time view or in the in-editor dashboard.

Find Productive Music

As you listen to music while you code, Music Time calculates a productivity score by combining your coding metrics with your listening history and data from over 150,000 developers. Here are the different ways you can discover your most productive music.

Open your Music Time dashboard

Open the Music Time view then expand the dropdown menu next to your email address. Click Dashboard to generate an in-editor report of your top songs and artists by productivity score.

Music Time dashboard

Explore your music metrics

Open the Music Time view and click the dropdown next to your account email. Click More data at Software.com to see your most productive songs, artists, and genres by productivity score.

Discover how the underlying metrics of music (including tempo, loudness, speechiness, energy, and valence) impact how you code.

Music Time metrics

Visualize your Code Time metrics

Music Time is built on our Code Time plugin. With Code Time, you can track and visualize your time spent coding, top projects, work-life balance, and more. Visit your dashboard to see visualizations of your Code Time data.

Share Music

Share your top songs on Facebook, Twitter, WhatsApp, and Tumblr by clicking on the share icon next to a song in the playlist tree. You can also Connect Slack to share songs with your team.

Music Time sharing

Connecting Slack requires team member permissions or above. You will not be able to connect Slack as a single or multi-channel guest.

Join the Community

Enjoying Music Time? Let us know how it’s going by tweeting or following us at @software_hq.

Have any questions? Create an issue in the Music Time project on GitHub or send us an email at support@software.com and we’ll get back to you as soon as we can.