Smartlist random option

Hello, i had posted a few years ago for options to create a playlist of music that would playback randomly.

Those directions worked good then.

However, I moved my plex server from my synology device to a local computer and now when I’m creating this playlist, the options are different.
I’m wondering if this is a version thing and cannot be done or if I’m missing something.

What I’m trying to get is a list that can be refreshed, that is not children and holiday music, not played in 2 years and not skipped in 1 year. And play random artists. As it plays now it starts in alphabetical order and plays top of the alphabet. Ive seen other topics suggesting there is a random option in playback on plex clients (i use Ios) but im not seeing that in plexamp.

So here is my playlist as i am creating it:
https://…com.plexapp.plugins.library?source=1&pivot=library&key=%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D10%26sort%3Dartist.titleSort%252Calbum.titleSort%252Calbum.year%252Ctrack.absoluteIndex%252Ctrack.index%252Ctrack.titleSort%252Ctrack.id%26limit%3D200%26track.lastViewedAt%253C%253C%3D-2y%26and%3D1%26track.lastSkippedAt%253E%253E%3D-1y%26and%3D1%26album.genre%21%3D2332%26and%3D1%26album.genre%21%3D324%26and%3D1%26artist.genre%21%3D2332%26and%3D1%26artist.genre%21%3D324&advancedFilters=1

There is no area with “&sort=" as stated in the Tip from TeknoJunky (Post [TIP] --- how to create an autoplaylist with random sort**).

Is there a different way to add this?

Pete

if it isn’t there, you didn’t sort by anything. you need to add it.

https://app.plex.tv/desktop/#!/media/da04c5cff24800df36d1e1a08e01be13384c44e6/com.plexapp.plugins.library?source=1&pivot=library&key=%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D10%26sort%3Dartist.titleSort%252Calbum.titleSort%252Calbum.year%252Ctrack.absoluteIndex%252Ctrack.index%252Ctrack.titleSort%252Ctrack.id%26limit%3D200%26track.lastViewedAt%253C%253C%3D-2y%26and%3D1%26track.lastSkippedAt%253E%253E%3D-1y%26and%3D1%26album.genre!%3D2332%26and%3D1%26album.genre!%3D324%26and%3D1%26artist.genre!%3D2332%26and%3D1%26artist.genre!%3D324&advancedFilters=1&sort=random

1 Like

Thanks. I did click the up/down arrow to sort on Album Artist. When I click down it sets this change:
“…t%3Dartist.titleSort%253Adesc%…” in the string.

I added it now and I did a refresh and it does not change it. I tried creating a new playlist and not saving it, and added it to the end of the url and still no change.

https://…com.plexapp.plugins.library?source=1&pivot=library&key=%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D10%26sort%3Dartist.titleSort%253Adesc%252Calbum.titleSort%252Calbum.year%252Ctrack.absoluteIndex%252Ctrack.index%252Ctrack.titleSort%252Ctrack.id%26limit%3D100%26track.lastSkippedAt%253C%253C%3D-2y%26and%3D1%26track.lastViewedAt%253C%253C%3D-1y&advancedFilters=1&sort=random

ok, so titlesort means nothing, because the &sort=random shuffles the entire set.

you can remove any other sortkeywords=something and just have one &sort=random at the end.

every time that is refreshed, you will get a random order of tracks from the selected filters.

edit the url, press enter, note the tracks listed, press f5, verify you get a different set of tracks.

I am sorry but it still is not working. Here is the url, I’m not seeing any sort keywords. I pressed enter to use the url, then f5/refresh. The same list starts with the beginning of the alphabet and is not randomized.

https://app.plex.tv/desktop/#!/media/XXXXXX/com.plexapp.plugins.library?source=1&pivot=library&key=%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D10%26limit%3D200%26artist.genre!%3D2332%26and%3D1%26album.genre!%3D324%26and%3D1%26artist.genre!%3D324%26and%3D1%26track.lastSkippedAt%253C%253C%3D-1y%26and%3D1%26track.lastViewedAt%253C%253C%3D-2y&curatedKey=%2Fplaylists%2F9489&advancedFilters=1&sort=random

hmm yeah I think maybe they broke and/or removed it. will ask around

try this;

after type%3D10 add %26sort%3Drandom and remove the &sort=random at the end

like @ https://app.plex.tv/desktop/#!/media/XXXXXX/com.plexapp.plugins.library?source=1&pivot=library&key=%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D10%26sort%3Drandom%26limit%3D200%26artist.genre!%3D2332%26and%3D1%26album.genre!%3D324%26and%3D1%26artist.genre!%3D324%26and%3D1%26track.lastSkippedAt%253C%253C%3D-1y%26and%3D1%26track.lastViewedAt%253C%253C%3D-2y&curatedKey=%2Fplaylists%2F9489&advancedFilters=1

it looks like the url is ‘url encoded’

you can convert the url to/from being ‘encoded’ @ URL Decoder/Encoder to kind of see how it used to be.

not sure if this change is intentional or when it happened, but url encoding makes it much more difficult to read from a user perspective.

That did it! Ill check out the decoder and make some other lists as well with that if possible.
I really appreciate your help!
Pete

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.