Coder Social home page Coder Social logo

dushabaev / vlc-spotify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonas-lundqvist/vlc-spotify

0.0 1.0 0.0 207 KB

A VLC plugin for playing Spotify tracks

License: GNU Lesser General Public License v2.1

Makefile 3.92% C 93.17% Objective-C 2.91%

vlc-spotify's Introduction

Status

The development of this project has been put on hold due to show stopping issues with libspotify that I don't have the energy to try to work around. I wrote a rant about it in a blog post with a follow-up here.

As Spotify says they plan to release a new library sometime later this year and then I might resume development.

If someone still would like some feature or such please go ahead and create an issue and/or pull request here on GitHub and I'll see what I can do.

About

This plugin adds support for playing spotify tracks in VLC media player. The code should be seen as a prototype and I can't claim that it is "work in progress" since I don't really know if I will further develop it into something useful. Please fork! :)

Why?

I did this to play around with libspotify and VLC.

Prerequisites

Installation

Get an appkey from spotify and copy it to src/appkey.c. View and edit the Makefile in the src/ directory if necessary.

For linux

Type make. Copy the src/libspotify_plugin.so to the vlc access plugins folder, possibly /usr/lib/vlc/plugins/access

For win32

The plugin is cross-compiled using mingw. Please note that the win32 version of VLC is needed and it will not work with the 64 bit version due to Spotify not providing a 64 bit library for Windows.

Unzip the libspotify zip file (from spotify) somewhere and set the $LIBSPOTIFY_WIN32_DIR to that base path. Copy extras/libspotify.def to the same directory as the libspotify.dll, ie $LIBSPOTIFY_WIN32_DIR/lib and cd to that directory. Run i686-w64-mingw32-dlltool -U -d libspotify.def -l libspotify.a

Back in the src/ directory run make OS=win32. Copy the libspotify_plugin.dll to the windows systems vlc/plugins/access/ folder

Usage

Start VLC and find the spotify preferences and set the option(s) accordingly.

Start from gui: File -> Open Network Stream -> spotify://spotify:track:6wNTqBF2Y69KG9EPyj9YJD -> Play

Or from command line: vlc spotify://spotify:track:6wNTqBF2Y69KG9EPyj9YJD

vlc-spotify also supports https://open.spotify.com/ URLs.

License

GNU LGPL 2.1. See the file LICENSE.

vlc-spotify's People

Contributors

jonas-lundqvist avatar

Watchers

Rustam Dushabaev 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.