Giter VIP home page Giter VIP logo

now-playing-in-texts's Introduction

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.

now-playing-in-texts's People

Contributors

un-pogaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

now-playing-in-texts's Issues

Does not notice .mkv files playing

This extension is so great, thank you for all the work you've done! There's just one little issue I've noticed recently and that's the extension does not log or even realize when .mkv files are playing.

No file generation in Linux

Hi,

I'm struggling to get any files outputted with the plugin installed. The plugin does not seem to have the magic "check" in the plugins menu indicating its working, however, it is in the "Active extensions" section.

image

I have taken logs of the plugin using the following command vlc --logfile="debug-lua.log" --file-logging --logmode=text --log-verbose=3 and this is the output below:

I have also tried to manually generate the files but no text was outputted to any of the 6 default outputs.

Thanks in advance!

finn-rm@bigpc:~/.local/share/vlc$ cat debug-lua.log 
-- logger module started --
main debug: VLC media player - 3.0.18 Vetinari
main debug: Copyright © 1996-2022 the VideoLAN team
main debug: revision 3.0.13-8-g41878ff4f2
main debug: configured with ./configure  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.18-4' '--enable-a52' '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-srt' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libplacebo' '--disable-libtar' '--disable-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sdl-image' '--disable-sndio' '--disable-sparkle' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=/usr/src/vlc-3.0.18-4 ' 'LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=/usr/src/vlc-3.0.18-4 ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/build/vlc-STuOD7/vlc-3.0.18=/usr/src/vlc-3.0.18-4'
main debug: searching plug-in modules
main debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
main debug: recursively browsing `/usr/lib/x86_64-linux-gnu/vlc/plugins'
main debug: plug-ins loaded: 517 modules
main debug: opening config file (/home/finn-rm/.config/vlc/vlcrc)
main debug: looking for logger module matching "any": 4 candidates
file debug: opening logfile `debug-lua.log'
main debug: using logger module "file"
main debug: translation test: code is "en_GB"
main debug: looking for keystore module matching "memory": 4 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX AVX2 FPU 
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file/directory:///home/finn-rm/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/finn-rm/.local/share/vlc/ml.xspf'
main debug: creating demux: access='file' demux='directory' location='/home/finn-rm/.local/share/vlc/ml.xspf' file='/home/finn-rm/.local/share/vlc/ml.xspf'
main debug: looking for access_demux module matching "file": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///home/finn-rm/.local/share/vlc/ml.xspf
main debug:  (path: /home/finn-rm/.local/share/vlc/ml.xspf)
main debug: looking for access module matching "file": 30 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 296 bytes in 0s - 32118 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 26 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 0x55bdee010510
main debug: looking for stream_filter module matching "any": 26 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///home/finn-rm/.local/share/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location='/home/finn-rm/.local/share/vlc/ml.xspf' file='/home/finn-rm/.local/share/vlc/ml.xspf'
main debug: looking for demux module matching "directory": 54 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `file/directory:///home/finn-rm/.local/share/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 5 candidates
vlcpulse debug: using library version 16.1.0
vlcpulse debug:  (compiled with version 16.1.0, protocol 35)
vlcpulse debug: connected locally to /run/user/1000/pulse/native as client #1538
vlcpulse debug: using protocol 35, server protocol 35
pulse debug: adding sink 46: alsa_output.pci-0000_03_00.1.hdmi-stereo (HDA ATI HDMI Digital Stereo (HDMI))
pulse debug: adding sink 55: alsa_output.usb-Focusrite_Scarlett_Solo_USB-00.analog-stereo (Scarlett Solo USB Analog Stereo)
pulse debug: adding sink 57: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo (USB Audio Digital Stereo (IEC958))
main debug: using audio output module "pulse"
main debug: keeping audio output
main debug: looking for interface module matching "dbus,none": 19 candidates
dbus debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
main debug: using interface module "dbus"
main debug: looking for interface module matching "hotkeys,none": 19 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 19 candidates
dbus debug: Getting All properties
main debug: using interface module "xcb_hotkeys"
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module matching "any": 19 candidates
dbus debug: Getting All properties
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/extensions
lua debug: Trying Lua playlist script /home/finn-rm/.local/share/vlc/lua/extensions/Now.Playing.in.Texts.lua
lua debug: Scanning Lua script /home/finn-rm/.local/share/vlc/lua/extensions/Now.Playing.in.Texts.lua
lua debug: Script /home/finn-rm/.local/share/vlc/lua/extensions/Now.Playing.in.Texts.lua has the following capability flags: 0x4
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/extensions
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
lua debug: Scanning Lua script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac
lua debug: Script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
lua debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
main debug: using extension module "lua"
main debug: using interface module "qt"
main: playlist is empty
main debug: nothing to play
main debug: processing request item: test1.mp3, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on test1.mp3
main debug: test1.mp3 is at 0
main debug: creating new input thread
main debug: Creating an input for preparsing 'test1.mp3'
dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting property Position
main debug: Creating an input for 'test1.mp3'
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
main debug: requesting art for new input thread
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
qt debug: IM: Setting an input
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file:///home/finn-rm/Music/node-radio-mini/test1.mp3' gives access `file' demux `any' path `/home/finn-rm/Music/node-radio-mini/test1.mp3'
main debug: creating demux: access='file' demux='any' location='/home/finn-rm/Music/node-radio-mini/test1.mp3' file='/home/finn-rm/Music/node-radio-mini/test1.mp3'
main debug: looking for access_demux module matching "file": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///home/finn-rm/Music/node-radio-mini/test1.mp3
main debug:  (path: /home/finn-rm/Music/node-radio-mini/test1.mp3)
main debug: looking for access module matching "file": 30 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 43478 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 26 candidates
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
skiptags debug: ID3v2.4 revision 0 tag found, skipping 45 bytes
main debug: using stream_filter module "skiptags"
main debug: stream filter added to 0x7f6a04001960
main debug: looking for stream_filter module matching "any": 26 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/playlist
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/playlist
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/anevia_streams.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/anevia_xml.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/appletrailers.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/bbc_co_uk.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/cue.luac
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/dailymotion.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/jamendo.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/koreus.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/liveleak.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/newgrounds.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/rockbox_fm_presets.luac
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/finn-rm/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/soundcloud.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/twitch.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/vimeo.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/vocaroo.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
lua debug: Trying Lua scripts in /usr/share/vlc/lua/playlist
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///home/finn-rm/Music/node-radio-mini/test1.mp3
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/home/finn-rm/Music/node-radio-mini/test1.mp3' file='/home/finn-rm/Music/node-radio-mini/test1.mp3'
main debug: looking for demux module matching "any": 54 candidates
es debug: detected format mpga
main debug: looking for packetizer module matching "any": 25 candidates
main debug: using packetizer module "mpegaudio"
mpegaudio debug: MPGA channels:2 samplerate:48000 bitrate:64
main debug: selecting program id=0
main debug: using demux module "es"
main debug: looking for a subtitle file in /home/finn-rm/Music/node-radio-mini/
main debug: looking for audio decoder module matching "any": 20 candidates
mpg123 debug: mpga->f32l, bits per sample: 32
main debug: using audio decoder module "mpg123"
main debug: looking for meta reader module matching "any": 2 candidates
main debug: using meta reader module "taglib"
main debug: removing module "taglib"
main debug: `file:///home/finn-rm/Music/node-radio-mini/test1.mp3' successfully opened
main debug: Buffering 0%
main debug: Buffering 2%
main debug: Buffering 4%
main debug: Buffering 7%
main debug: Buffering 9%
main debug: reusing audio output
main debug: Buffering 12%
main debug: Buffering 14%
main debug: Buffering 16%
pulse debug: using stereo channel map
main debug: Buffering 19%
main debug: Buffering 21%
main debug: Buffering 24%
main debug: Buffering 26%
main debug: Buffering 28%
main debug: Buffering 31%
main debug: Buffering 33%
main debug: Buffering 36%
main debug: Buffering 38%
main debug: Buffering 40%
main debug: Buffering 43%
main debug: Buffering 45%
main debug: Buffering 48%
main debug: Buffering 50%
main debug: Buffering 52%
main debug: Buffering 55%
main debug: Buffering 57%
main debug: Buffering 60%
main debug: Buffering 62%
main debug: Buffering 64%
main debug: Buffering 67%
main debug: Buffering 69%
main debug: Buffering 72%
main debug: Buffering 74%
main debug: Buffering 76%
main debug: Buffering 79%
main debug: Buffering 81%
main debug: Buffering 84%
main debug: Buffering 86%
main debug: Buffering 88%
main debug: Buffering 91%
main debug: Buffering 93%
main debug: Buffering 96%
main debug: Buffering 98%
main debug: Stream buffering done (1008 ms in 0 ms)
pulse debug: changed buffer metrics: maxlength=4194304, tlength=46080, prebuf=0, minreq=15360
pulse debug: connected to sink alsa_output.usb-Focusrite_Scarlett_Solo_USB-00.analog-stereo
main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 4 candidates
main debug: using audio resampler module "samplerate"
main debug: Decoder wait done in 4 ms
pulse debug: deferring start (58484 us)
pulse debug: deferring start (57921 us)
pulse debug: deferring start (33922 us)
pulse debug: deferring start (9922 us)
pulse warning: starting late (-14078 us)
main warning: playback too early (-57932): down-sampling
pulse debug: started
main debug: resampling stopped (drift: -19901 us)
main warning: playback too early (-40142): down-sampling

filename1 not appearing in .txt files?

Hey there, trying to get the filename without extensions but I can't see "filename1". It's not showing up in
%appdata%\Roaming\vlc

Am I doing something wrong?

Disc Numbers not working.

This is a great plug-in for VLC! I use it to pull the metadata from each video in VLC and display it on our 24/7 Stream.

I cannot seem to get the Disc Number to show up in any of the TEXT output files.
I have copied and changed the code a few times changing the "{DISCNUMBER}" to "{discnumber}" and also tried "{disc_number}" after looking up some of the VLC 3.0 LUA code on the DEV site.

In all of our video files Disc Numbers are entered in using MP3TAG and range from one digit # to three ### max.
The Disc Number shows up without issue in the VLC Playlist, and I have NO issues with the Track Numbers showing up in the NP TEXT Output files.

With my learning disabilities and no skills in coding I need some help if someone gets a few minutes.
Thank You!

PS: I have noticed misspelled code words like Lenght instead of Length and Valide instead of Valid (I don't think this causes the issue.)

Can't manage to make it work in Linux

Hi

I'm sorry to be a bother, but even with following the doc, I can't manage to get the files. Let me tell you everything I did and tried.

First on Linux, Ubuntu 20.04.
I downloaded the file, created the lua and extensions folders that were missing from within ~/.local/share/vlc/, copied the lua file in the extensions folder and THEN started vlc. (I checked the version : 3.0.9.2.) I started reading music. The music played, but no files were created in ~/.local/share/vlc/
I checked the rights, I seem to have all necessary rights. I went to the extension menu in vlc. "Now playing in texts" is listed, and appears as installed. Still nothing.
I restarted VLC. I even restarted the computer. Still nothing.

Secon try on MacOS Monterey 12.2.1 and VLC 3.0.16
I downloaded the file, created the lua and extensions folders that were missing from within /Users/%my_username%/Library/Application Support/org.videolan.vlc/, copied the lua file in the extensions folder and THEN started vlc.I started reading music. The music played, but no files were created in /Users/%my_usernam%/Library/Application Support/org.videolan.vlc/
And there it worked. I even could see the data in OBS.

However, Linux is my main OS and the only one I use to stream, so I would very much like to make it work there. Can you please help me ?

better install instructions needed

The doc file needs to be a bit more thorough. I had to look in previous support issues to find that ticking the plugin in View was to enable it. There was nothing in the instructions about this. Having not added any plugins to VLC before I was thrown off. Once ticked it worked a charm. May be just rewrite the installation instructions and Functioning bits to be a bit clearer?

Cheers

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.