Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swdotcom/swdc-vscode-musictime
A VS Code extension to discover the most productive music to listen to as you code
https://github.com/swdotcom/swdc-vscode-musictime
ai-playlists music spotify visual-studio-code vscode
Last synced: 13 days ago
JSON representation
A VS Code extension to discover the most productive music to listen to as you code
- Host: GitHub
- URL: https://github.com/swdotcom/swdc-vscode-musictime
- Owner: swdotcom
- License: apache-2.0
- Created: 2019-11-26T01:24:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T05:18:18.000Z (15 days ago)
- Last Synced: 2024-10-28T08:39:29.358Z (15 days ago)
- Topics: ai-playlists, music, spotify, visual-studio-code, vscode
- Language: TypeScript
- Homepage: https://www.software.com/music-time
- Size: 486 MB
- Stars: 563
- Watchers: 9
- Forks: 23
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Music Time for Spotify
[Music Time for Spotify](https://www.software.com) 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](https://www.software.com/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](https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode): 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](https://www.spotify.com): 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](https://assets.software.com/readme/music-time/vscode/features-2.1.15.png)
## 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](https://swdc-vscode.s3-us-west-1.amazonaws.com/music-time-player-controls.png)
### 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](https://swdc-vscode.s3-us-west-1.amazonaws.com/music-time-recommendations.png)
### 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](https://swdc-vscode.s3-us-west-1.amazonaws.com/music-time-open-dashboard.png)
### 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](https://app.software.com/music/metrics) (including tempo, loudness, speechiness, energy, and valence) impact how you code.
![Music Time metrics](https://swdc-vscode.s3-us-west-1.amazonaws.com/music-metrics.png)
### Visualize your Code Time metrics
Music Time is built on our [Code Time plugin](https://www.software.com/code-time). With Code Time, you can track and visualize your time spent coding, top projects, work-life balance, and more. [Visit your dashboard](https://app.software.com) 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](https://swdc-vscode.s3-us-west-1.amazonaws.com/music-time-share-menu.png)
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](https://twitter.com/software_hq).
Have any questions? Create an issue in the [Music Time project](https://github.com/swdotcom/swdc-vscode-musictime) on GitHub or send us an email at [[email protected]](mailto:[email protected]) and we’ll get back to you as soon as we can.