This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok 2.8 APG will not create long playlists

Tags: None
(comma "," separated)
pbickford
Registered Member
Posts
2
Karma
0
The Automated Playlist Generator will not create long playlists. I created a simple playlist of MatchTag: genre contains "Classical", but when I run it, nothing happens. The same for the Example 2: rock or pop music preset. If I add an additional constraint to duration or length, the playlist is created. I am guessing it has to do with the size of the playlist.

If there is a constraint on the size of the playlist, perhaps I am not using Amarok as intended. I just want to separate out my collection into separate lists (e.g. classical, jazz, rock). Once separated, I can order them (by composer, album, or artist) and browse to choose what I want to play.

My Local Collection contains over 10,000 tracks. I am running Amarok 2.8.0 on Ubuntu 13.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
If you want to browse by genre, you can just do this in the collection browser, and then refine your search by setting the second and 3rd level to the desired bias.
The APG is not meant for that use, as the length of the playlist is limited, this is inherent to the current design of the APG.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
pbickford
Registered Member
Posts
2
Karma
0
Thank you for your reply. I will have to rethink how I am searching, but I think that will work well.
User avatar
MindfulCoyote
Registered Member
Posts
1
Karma
0
A workaround that I've found is to add a manual size constraint at the beginning of the constraint tree. This won't necessarily get *every* matching song, but it can generate quite long playlists. For example this APG generates a playlist for me of 4,129 tracks totalling 11+ days of playtime.

Image

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<playlistgenerator>
  <generatorpreset title="Rated 2+">
    <constrainttree>
      <group matchtype="all">
        <constraint size="10" unit="3" comparison="0" type="PlaylistFileSize" strictness="1"/>
        <constraint field="rating" comparison="2" invert="false" type="TagMatch" value="3" strictness="1"/>
      </group>
    </constrainttree>
  </generatorpreset>
</playlistgenerator>


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]