Now Playing in texts
VLC Extensions
Description:

This plugin reads the tags "Title", "Artist" and "Album" of the currently played music, and writes into 4 text files ( np_album.txt | np_artist.txt | np_artist_title.txt | np_title.txt )
Note: if no "Title" as found, the file name is used.

Can be used together with any software that can read input from a text file, such as streaming software (OBS, OBS Studio...).

np_album.txt = Contains just the Album.
np_artist.txt = Contains just the Artist.
np_title.txt = Contains just the Title.
np_artist_title.txt = Contains the name of Artist and the Title in one line.

If you have other ideas for outputs TXT's, do not hesitate to proposed.

The TXT's files will be saved in the VLC user director which can be found in the following places :
Linux: ~/.local/share/vlc/
Windows: %APPDATA%/vlc
Mac OS X: /Users/%your_name%/Library/Application Support/org.videolan.vlc/

-------------------------
Installation Instructions

Place this file in the corresponding folder and restart VLC or reload plugin extensions.

Linux :
Current User: ~/.local/share/vlc/lua/extensions/
All Users: /usr/lib/vlc/lua/extensions/

Windows :
Current User: %APPDATA%/vlc/lua/extensions
All Users: %ProgramFiles%/VideoLAN/VLC/lua/extensions

Mac OS X :
Current User: /Users/%your_name%/Library/Application Support/org.videolan.vlc/lua/extensions/
All Users: /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
Last changelog:

1.3 - Clear TXT's if no track 3 months ago

*The TXT's are cleared if no track is played or found (Stop or end of playlist, but Pause keep the files).

PalmaBeats

27 days ago

Can you make it to read the chapters and then write them in a file? It would be so helpful for me. Thanks!

Report

un_pogaz

7 days ago

Chapters? Are about Track Number?

Report

PalmaBeats

7 days ago

I mean, these chapters (http://i.imgur.com/Hb3BXRn.png). They are usually found in audiobooks or podcasts of iTunes. Thanks :)

Report

un_pogaz

6 days ago

Oh, this.
No, sorry, I do not think it is possible.
(But if it's possible, it's way too much above my skills)
But if you wanted to retrieve chapters (for other usage), use MKVToolNix and MKVExtractGUI-2

Report

PalmaBeats

6 days ago

Thanks for replying.
Unfortunately, MKVExtractGUI-2 extracts only embeded contents of mkv files :/

Report

un_pogaz

5 days ago

Transform your original file in a .mkv via MKVToolNix, then use MKVExtract
[Stop off topic / End of discussion]

Report

1.3 - Clear TXT's if no track 3 months ago

*The TXT's are cleared if no track is played or found (Stop or end of playlist, but Pause keep the files).

1.2 - "Artist - Title" feature 3 months ago

*Add "np_artist_title.txt" containing the Artiste name and the Title in one line. *Code optimization.

1.1 - Fontion "Clear files" 3 months ago

*Add a fontion "Clear files", when you disable the plugin or left VLC, the TXT's files are cleared. *Add a msg's for debug.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 67%
67.00 Likes
33 Dislikes
Details
version
1.3
updated Apr 27 2017
added Mar 12 2017
downloads
page views 17270