Giter Site home page Giter Site logo

jakehardy / snip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dlrudie/snip

0.0 1.0 0.0 540 KB

Snip will get the artist, track, and album information from Spotify, iTunes, Winamp, foobar2000, or VLC and save the information to a text file.

License: GNU General Public License v3.0

C# 96.50% Smalltalk 2.95% Batchfile 0.55%

snip's Introduction

SNIP

Copyright 2012-2016 David Rudie [email protected] Project Page: Snip

ABOUT

This is a small application that sits in the system tray and updates a text file with the currently playing audio track.

It supports Spotify, iTunes, Winamp, foobar2000, and VLC.

If you choose to use iTunes then Snip will automatically launch iTunes. This is the behavior of the COM API and there's nothing I can do about it. If you only use Spotify then you don't have to worry about it.

To switch between players just right-click on the icon in the system tray.

Snip will write a generic format output to a file called Snip.txt within the same folder as Snip.exe. If you choose to save information to separate files then the files will be called Snip_Arist.txt, Snip_Track.txt, Snip_Album.txt, and if you choose to save track history then it will be saved to a file called Snip_History.txt.

SUPPORTED FEATURES FOR PLAYERS

  • Spotify: Artist, Track, Album, Artwork
  • iTunes: Artist, Track, Album, Artwork
  • Winamp: Artist, Track
  • foobar2000: Artist, Track
  • VLC: Nothing (It uses whatever the titlebar says)

WINAMP

For Winamp support to work properly you must change some options.

Make sure that when you install Winamp you enable "Global Hotkey Support" under "User Interface Extensions" or hotkeys will not work.

Inside Winamp open up the options window.

  • Under General Preferences make sure "Show the playlist number in the Windows taskbar" is disabled.

  • Under General Preferences->Global Hotkeys make sure "Enable default multimedia key support" is enabled.

  • Under General Preferences->Titles make sure "Use advanced title formatting when possible" is enabled.

Then you need to edit the formatting to look like this: %title% โ€“ %artist%

Note

The hyphen used is an en dash character! Snip uses this character internally to split the text apart so make sure you use this en dash character or Snip will not read it correctly!

FOOBAR2000

For foobar2000 support to work properly you must change some options.

Inside foobar2000 open up the preferences window.

Expand the Display options and select Default User Interface. At the bottom of the window you will need to change "Window title" to look like this: %title% โ€“ %artist%

Note

The hyphen used is an en dash character! Snip uses this character internally to split the text apart so make sure you use this en dash character or Snip will not read it correctly!

VLC

Snip looks for the window class and "VLC media player" window title to determine if VLC is running. If the title bar is anything different then it will not be found. If a track is currently playing when you start Snip you just have to push stop and Snip will find VLC.

HOTKEYS

  • Next Track: Ctrl, Alt, ]
  • Previous Track: Ctrl, Alt, [
  • Volume Up: Ctrl, Alt, +
  • Volume Down: Ctrl, Alt, -
  • Mute Track: Ctrl, Alt, M
  • Pause Track: Ctrl, Alt, P
  • Play/Pause Track: Ctrl, Alt, Enter
  • Stop Track: Ctrl, Alt, Backspace

Note

Not all hotkeys work between Spotify, iTunes, Winamp, foobar2000, and VLC.

snip's People

Contributors

dlrudie avatar belldandu avatar thelastrar avatar markspolakovs avatar eegee avatar kailan avatar

Watchers

Jake Hardy avatar

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.