Painkiller8818 203 Posted June 18, 2021 Share Posted June 18, 2021 (edited) Hi, As i run into this problem that i added a lot songs of the same artist to my playlists because i go album for album i was looking for a way to shuffle/randomize the playlists. I couldn't find such a function yet so i did a little powershell script for me to do it and i wanna share it with you. If someone can code this in a better way or adapt this to other OS also (maybe with python) feel free to add your tutorials also here. Maybe this is also an idea for the devs to add such a function directly to emby. i put the .ps1 file in a zip because i'm not sure i can directly add a .ps1 file. Everything is commented so everyone should understand whats happening and where you can change the paths to your personal matching paths INFO: If you get a restriction executing the script you can allow powershell scripts by typing this into an elevated Powershell window: Set-ExecutionPolicy -ExecutionPolicy Bypass Emby-Playlist-Randomizer.zip Edited June 18, 2021 by Painkiller8818 Link to comment Share on other sites More sharing options...
Painkiller8818 203 Posted June 19, 2021 Author Share Posted June 19, 2021 either it is not used or no one knows how to use it Link to comment Share on other sites More sharing options...
Carlo 4330 Posted June 19, 2021 Share Posted June 19, 2021 There's a Shuffle button you can use for playlists instead of the Play button. That would be the way most of us would do this. Link to comment Share on other sites More sharing options...
Painkiller8818 203 Posted June 19, 2021 Author Share Posted June 19, 2021 2 hours ago, cayars said: There's a Shuffle button you can use for playlists instead of the Play button. That would be the way most of us would do this. Yes i saw that but if i create a playlist i go artist for artist and so it could be there are 70 songs + from the same artist till the next atrist. Shuffle is nice but i still have a lot of songs from the same artists right after another, so i created this script. Now i also can click the normal play button and it is not all the same artist. Maybe i am the only one using this Link to comment Share on other sites More sharing options...
guyjami 2 Posted February 6, 2023 Share Posted February 6, 2023 Hi Painkiller8818 No, you're not the only one who need that function ! I've done the same for Emby on a Synology NAS but in Python v3. As i'm a beginner with python and Linux, an easier and integrated solution will be better. But it works like that for me ! Regards randomize_emby_xml_playlist.zip 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now