
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Reiuiji/VLCAddons
VLC Song Tracker is a extension that will help keep track of which songs were played in VLC.
The information of each song will be saved to a CSV ("Comma Separated Values") file with the following data. The date and time in which the song was played as well as the song information including Title, Artist, Album, Genre, Comments, and the location in which it was played at. The location can be a url for internet radio or the file where it was played from. The CSV will will be able to be parsed by most applications. One example of parsing is a spreadsheet application (LibreOffice Calc).
Installation Instructions:
Place this file in the corresponding folder(Create the folder if it does not exist) and restart VLC or reload plugin extensions.
To enable VLC Song Tracker click on View -> "VLC Song Tracker" under the menu bar.
Linux:
Current User: ~/.local/share/vlc/lua/extensions/
All Users: /usr/lib/vlc/lua/extensions/
Windows:
Current User: %APPDATA%vlcluaextensions
All Users: %ProgramFiles%VideoLANVLCluaextensions
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/
Song List Location
The SongList.csv will be saved in the vlc user director which can be found in the following places
Linux: ~/.local/share/vlc/SongList.csv
Windows: %APPDATA%vlcSongList.csv
Mac OS X: /Users/%your_name%/Library/Application Support/org.videolan.vlc/SongList.csv
0.1.5 3 years ago
Added Now Playing Meta tag (suggested by dvxyz).
Recommend creating new Songfile(move/rename) to keep new naming convention consistent.
0.1.5 3 years ago
Added Now Playing Meta tag (suggested by dvxyz).
Recommend creating new Songfile(move/rename) to keep new naming convention consistent.
0.1.4 3 years ago
Added duplication check to prevent writing same song in a row. Suggested by lcluster
5 years ago
0.1.3
Bug fix for description tag
0.1.2
Added OS Detection to check if a specific OS and change the file location based on the OS.
Cleaned up Debug Output
0.1.1
Bug Fix for description tag
0.1.0
Initial Release
unknow0059
1 year ago
I have to manually play a song in the ML for it to be recorded in the CSV file.
This does not happen if I make a Playlist. However, the ML is just a playlist in VLCs eyes, since it's a xspf file, so it should work.
Report
unknow0059
1 year ago
Report
philrj
2 years ago
Report
lcluster
3 years ago
-- uri information
local uri = item:uri()
LocationNow = uri
local info = date .. CSV_FS .. time .. CSV_FS .. title .. CSV_FS .. artist .. CSV_FS .. album .. CSV_FS .. genre .. CSV_FS .. description .. CSV_FS .. uri
if LocationLast ~= LocationNow then
write_file(info)
LocationLast = LocationNow
end
Report
Reiuiji
3 years ago
Report
randomusernameover9000
4 years ago
Was my first time using a plugin with VLC and just wanted to say that you might want to add that you have to do the following as well as I thought it wasn't working at first...
also the lua and the extensions folder within lua didn't exist for me but just created them.
But yea thanks none the less.
To use this extension, open VLC Player and go to View Menu in Menu Bar and select 'Info Crawler'
Report
randomusernameover9000
4 years ago
Report
Reiuiji
4 years ago
Also 'Info Crawler'? Do you mean 'VLC Song Tracker' or ment to comment on the Info Crawler page?
https://addons.videolan.org/content/show.php/Info+Crawler?content=175648
Report