Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/un-pogaz/Now-Playing-in-texts

9
Become a Fan
8.0

Description:
This plugin reads the tags of the currently played music, and writes into text files.
Ideal if you want to display the current music on your stream with your streaming software (OBS Studio...).

Basic files
The 6 basic files are automatically generated and contain the most basic metadata

np_title.txt = contains the title of the music.
np_artist.txt = contains the artist of the music.
np_album.txt = contains the album of the music.
np_artist_title.txt = contains the artist and the title of the music.
np_radio.txt = this text use a metadata that more relevant if you listen a web radio.
np_bandcamp.txt = Uses the Bandcamp metadata pattern.

Special files
The 3 special files are automatically generated and contain unique metadata or files useful for debugging.

np_metadata.txt = contains the list of metadata available for the current song.
np_metadata_full.txt = contains a list of all the metadata that can be used in Now Playing in Texts, including those empty.
np_artwork.jpg = copy the cover image of the music. If no image is found, a blank/transparent image will be created.

Custom files
Now Playing in Texts V2 integrates the possibility of creating its own metadata TXT files with your custom metadata pattern.
Read the HTML doc for more detail.

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

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

Place the "Now Playing in Texts.lua" file in the corresponding folder and restart VLC or reload plugin extensions. Then, go to the "View" section of the menu bar and click on "Now Playing in Texts v2". If a check mark appear to the side of the entry, this means that the plugin is active.

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/

=============
IMPORTANT
"Now Playing in Texts" V2 is compatible with VLC 3 only.
If you absolutely must use VLC v2, only "Now Playing in Texts" v1.5 and below are compatible. Go to "Files" tab on this page, click on "3 files ( 24 archived )" and select the old version of your choice.
Last changelog:

2.5 - more unparity issue betewn OS

Fix another unparity of the Lua Libraries betwen Linux and Windows


Ratings & Comments

69 Comments

barsupi

10 HI I really like this plugin I've been using it for a while and works great. I really wonder if we'll ever have the option to show: - elapsed time , remaining time , total time and combinations - items in the playlist. (current, next ones, previous) only tiles/filenames duration

zidarnet

Hey, I'm currently using Win11 and latest VLC but I'm not getting any files generated after applying the plugin within View. Maybe there's something I'm missing?

zidarnet

Scratch that. I found the file. Sorry for the ping!

impellitteri-22

10 This is the best plugin I've been looking for all along ! One thing, though, if there are characters other than the standard alphabet, such as "ú" or Greek characters, the image will not be reflected in "np_artwork.jpg." Is it possible to reflect this ? Let me apologize for my poor English :'(

un_pogaz

Glad you like it :) and thank you for the bug report, I'm going to check it out... ... oh sh**! It's fucked up, it's dead. All internet says to not use non-standard characters in the filenames for Lua scripts. This is not a bug of my script, but of VLC. I'll report to them, but I have little hope that it will be fixed. Sorry about that.

impellitteri-22

Oh, I see, thank you for the detailed explanation ! Thank you for making a really, really good plugin :)

xnobodyx

would it be possible to add the option in a custom file for new entries to be appended as new lines in a file rather than overwriting the entirety of the old file. in other words a running log would be kept of all tracks played. thanks very much

un_pogaz

To keep track of your songs, I'd rather recommend you 'VLC Song Tracker', which provides a much better format for this https://www.opendesktop.org/p/1154018/ I would not add such an option in "Now playing"

xnobodyx

thank you

randomuser9

10 This is a really good plugin, works wonders ^^ One thing tho: Is it somehow possible to display the file name without the file extension like .mp3 or .m4a?

un_pogaz

Thanks, and No but now Yes => added "filename1", file name without extension.

randomuser9

Thank you, my guy, that is very friendly of you!

un_pogaz

Thanks, and Done. Added "filename1" for this.

superuser

It might be a stupid question, but how can I make this run at startup? Every time I launch VLC I have to select the addon in "view" section which makes me a little bit irritated when it comes to streaming. I am using Linux.

un_pogaz

There is no way in VLC to activate an extension at this startup.

iluster

Hello, is it possible that this extension is not compatible with Windows 11? The LUA file is in the correct directory and VLC shows it as active, but no text files are created.

iluster

Forget it, I'm just stupid and this extension just works alientastically! ;)

michelle-vincent

10 - the best

acorantf

I have installed Now Playing in Texts, VLC recognizes it in add-ons, but does not create the txt files with the song data. What's the matter?

un_pogaz

The Lua add-ons should be enabled for create the TXT files "View > Now Playing in Texts v2". A check mark appears if they are active.

acorantf

Thank you for your reply. Now Playing in text does not appear in the view menu. I have another lua script, for youtube and if it appears and works.

un_pogaz

Oh, it's going to be hard for me to help you. The only thing I can tell you is to make sure you are using the latest version of VLC and "Now Playing". If you are using VLC v2, there is an incompatibility with v2 of "Now Playing". ... I have a doubt. Are you unzip the lua extension? I may not have been clear in the description.

acorantf

My VLC is 3.0.9.2, I use Now Playing in Text v2. I have also tested on two different PCs with the same result. In both I have Linux Mint 20.1- Thank you, I will continue to investigate.

un_pogaz

Oh my god. If your a on Linux, you are not the only one with this problem. Others reported it to me GitHub and I made a fix. Check if the new version is good for you too.

theblindhobo

10 the best

Pling
0 Affiliates
Details
license
version 2.5
updated
added
downloads 24h 2
mediaviews 24h 0
pageviews 24h 35

Other VLC Extensions:

Multiple VLC enhancments
tubh
last update date: 12 years ago

Score 4.9

TUNE IN RADIO
willyboy63
last update date: 12 years ago

Score 5.0

Etevaldo Scopel
etevaldo
last update date: 12 years ago

Score 4.7

VLsub 0.9
nonkelleo
last update date: 12 years ago

Score 4.1

IP Webcam
manonlatramee62
last update date: 11 years ago

Score 5.1

TandN Co LLC
tandnone23
last update date: 10 years ago

Score 5.7



System Tags