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

https://github.com/Dreistein/vlc_history_shuffle

Original
2
Become a Fan
6.3

Description:
This Plugin shuffles Songs based on the history of playing. If a song got played recently, it is less likely to get played.
This reduces the chance that the same song gets played again. Even when the media player gets restarted!

How it works

The plugin creates a file in the vlc config directory, which stores the paths to the songs, the liking and the time of the last change.

At the beginning, all songs get a rating of 100 and the current timestamp.
When a song gets played, the rating is reduced between 7 and 13 points.
When a song gets skipped, the rating is reduced by the percentage of the remaining time (up to 10% to the end) ±3 random points

When the plugin randomizes the playlist, songs with a higher rating, have a higher chance to get into the top spots of the playlist. Songs with less rating are more down in the playlist. Additionally, songs with the same rating get shuffled. So it's always random.

The rating increases when the plugin gets loaded. The rating increases by 1 point every day the song wasn't played.

Ratings & Comments

9 Comments

techsh3p4rd

10 Really needed extension if you use VLC as your main music player. Thanks for sharing it and the nice code documentation!

jude112233

9 9 excellent, works like a charm. True shuffle for my 1000+ song playlists.

jude112233

How does one install this?

jude112233

Nevermind, go to "Program Files(x86) / VideoLAN / VLC / lua / extensions /" *paste script file*

techsh3p4rd

Thanks! I wondered the same :)

copernicus248

I love the concept of this add on! I copied it to my extensions directory and did a "Reload Extensions". How do I use it and/or how do I know it is working? What is the name of the file that is place in the config directory?

emoapostolov

Does it work when I close the player and open it again? Today I restart my player loaded again the same folders with songs and after a while the same songs from earlier the day started to play instead of not played at all.

Dreistein

Hello, first of all thanks for using the plugin! I am assuming you are using Windows. There was a bug that prevented the history file to be loaded. This should now be fixed. If you encounter any problems, please report it on GitHub as the interface is better there.

emoapostolov

Thanks for the fast answer! I assume you mean to download this file - https://github.com/Dreistein/vlc_history_shuffle/commit/4719ed35d6bc3868ca9fd79d5a434d5755ab8855 I will give it a try :)

Pling
0 Affiliates
Details
license GPLv3
version 1.0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

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: 12 years ago

Score 5.1

TandN Co LLC
tandnone23
last update date: 10 years ago

Score 5.7



System Tags