Replies: 1 comment
-
|
Use something like this along with paths:
default: /data/music/$folder/$initial_char/$album%aunique{album year,,[]} ($year)/$album ($year) - $title
singleton: /data/music/$folder/$initial_char/$album%aunique{album year,,[]} ($year)/$album ($year) - $title
comp: /data/music/$folder/$initial_char/$album%aunique{album year,,[]} ($year)/$album ($year) - $title
albumtype_soundtrack: /data/music/$folder/$initial_char/$album%aunique{album year,,[]} ($year)/$album ($year) - $title
item_fields:
folder: |
folder = 'Hindi Music'
for g in genres:
gl = g.lower()
if gl == 'rajasthani':
folder = 'Rajasthani'
break
elif gl == 'indian classical':
folder = 'Classical Sorted'
break
return folder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
First : sorry for my English - I’m not fluent; my native language is French.
Second: I use an online translator. I hope I get a good translation.
One more and final warning: I'm not a computer scientist... it's just a hobby.
I’m trying out Beets on a Debian 13 Linux PC. Beets is installed in a Python3 environment.
I'm more or less getting what I want. The basics of this software are fine. But ...
I’d like to sort my music by “Genre,” e.g., Techno, Classical, and Jazz. All other genres would be redirected to an Other/ folder.
So, based on my library imported with Beets to a destination, I’d like to have this structure for each genre (here, Jazz) + the “Other” folder:
(...) : Same as Jazz for Techno and Classical Music.
Audiobooks/ and Soundtracks/ don’t pose any configuration issues for me. They’re just included as examples.
In my Beets configuration (~/.config/beets/config.yaml), I have the following defined for our purposes:
I tried various options using:
But I didn't succeed.
Perhaps a solution is possible using the command “beet modify genre_folder:Techno” to add a specific, custom field when the album has the “genre: Techno” via the ‘lastgenre’ plugin. And this Beet command would be applied via the “hook” plugin before being moved to the music directory.
?
Do you have any recommendations for my sorting issue regarding certain genres (not all of them)?
Thank you ::
Best regards ::
Have a great day ::
Beta Was this translation helpful? Give feedback.
All reactions