[OPEN-SOURCE] SpotifyOthers

Free [OPEN-SOURCE] SpotifyOthers 7.11717

SmokingYoda

New Member
SmokingYoda submitted a new resource:

[OPEN-SOURCE] SpotifyOthers - Small tool for exporting current song from Spotify to text -file.

SpotifyOthers is minimalistic tool for exporting current song from Spotify to text file.


Virustotal can be found HERE

I made this tool because there was non-available at the time. This does not request any action from user, just running it and leaving it to background. There will be current_song.txt in root of the software, use this with OBS....

Read more about this resource...
 

SmokingYoda

New Member
Is there a way to remove the "Currently Playing" text so it just shows the artist and song?

Only option is to build the program again and replacing:
Code:
WriteToFile(Encoding.UTF8.GetBytes($"Currently Playing: {GetMediaPlayers()}"));
to
Code:
WriteToFile(Encoding.UTF8.GetBytes($"{GetMediaPlayers()}"));
 

ajcr

New Member
This little program worked great for my purposes (get the title of foobar2000 and mpc-hc), if anyone needs to re-build the program is pretty easy you just need to download visual studio 2017 and install .NET desktop development, after that is pretty straightforward, you create a new project in visual C# WPF App, look at the menu on the right and find App.xaml.cs then copy and paste the code in App.xaml.cs and edit the code as needed, after that right click on WpfApp1, (is in the same menu on the right) and click on properties, and change startup object to SpotifyOthers.Program if you don't do this you'll get an error.

If you need to get the title for another program just look for the name of the process in the Task Manager and replace spotify with it, the .exe is not needed.
 
Last edited:

SpoolinX

New Member
I've been able to update this myself to remove the "Currently Playing" but I was wondering, does anyone know how to display text when nothing is playing? When nothing is playing I'd like to write to the text file saying something like "No current track".
 

SmokingYoda

New Member
As so many have downloaded this, I am going to release new version in early November. Now I am asking you, what features you might want, these are included already:

- Customizable style.
- Customizable export location.
- Adjustable cycle rate.
- YouTube added.

I am going to include Version history with added information, when releasing the newer Version.
 
I feel so dumb I do not understand how to download this and then install or put it into obs that it will play on my Twitch Stream. Anyone have the time to let me know the process?
 

ZeroArcana

New Member
I feel so dumb I do not understand how to download this and then install or put it into obs that it will play on my Twitch Stream. Anyone have the time to let me know the process?
1. Download the .zip file using the download button at the top of this page.
2. extract the .exe file from the downloaded .zip file.
3. Open up Spotify, and start it playing whatever.
4a. Run the extracted SpotifyOthers.exe (it should just be an empty command window); leave this open, just minimize it.
4b. Wherever you extracted the .exe file, you should have a "currently_playing.txt" file; this is what you'll need for OBS.
5a. Now open up OBS. Create a new "Text (GDI+)" source in whatever scene you want to add this to, name it whatever you want.
5b. In the settings for your new text source, you want to select "Read From File", and you'll want to select the "currently_playing.txt" file.

That's basically it; Edit the text source settings to suit your stream's aesthetic, and you should be all set!

Just remember that you always have to start up SpotifyOthers.exe alongside Spotify and OBS for it to work.
 
Top