Skip to main content

export VLC metadata

Project description

VLC-Radio Python script

A tool for streamers to cleanly display song info from VLC Media Player.

Built for Python 3.6

install with pip install VLCtagExporter

and run with python -m VLCtagExporter

Requirements

The following python packages need to be installed, you can install them using these commands:

pip install Image   
pip install requests 

How to use

Firstly, change the image and text file save directories. images

Then, while VLC Media player is playing audio, run the program. The song info will be exported into a text file at the location for 'songInfoSaveLocation' specified in the image above. The album art will be resized and exported to the location specified in the 'artSaveLocation' value shown above.

You can see a working example by clicking on the image or link below. images(https://www.youtube.com/watch?v=DW2mUMJ_63A

I used OBS studio for broadcasting, and set it up to display the jpg titled art.jpg in a folder, as well as display the contents of a specific text file. The album art and text file are automatically updated when their contents are changed.

VLC Setup

You will need to enable a web interface for VLC media player for this program. You can find instructions on how to do so in this post: https://stackoverflow.com/questions/24178980/how-to-monitor-vlc-media-player-on-windows-7-using-python

This link will describe how to:

  • Activating web interface: Open VLC goto Tools--->Preferences-----> Main Interface as shown below tick mark the web option.
  • Then click on Lua option on the left pane. Enter the password in the password field and enter C:\Program Files\VideoLAN\VLC\lua\http in the source directory field as shown below. Verify that you have status.xml file at the location that you provided in the source directory.
  • Start the VLC player and play some file. Visit http://localhost:8080/requests/status.xml and you shall see a login page, leave the username field blank and enter the password that you entered in the VLC. If you logged in successfully you shall see the XML file! If you don't see any thing then do the following as shown in the image below: goto View--->Add Interface----->Select web

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vlcradio, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size vlcradio-0.0.3-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page