Skip to content

Commit

Permalink
add example adding music released this day in history
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Feb 19, 2022
1 parent 089575a commit e51025f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ advanced query syntax system of beets.
beet2mpd comments:foo # do note the plural form!
beet2mpd ^genre:rap albumtype:single # single releases that's NOT rap
beet2mpd added:-1w.. # add new music imported in the past week
beet2mpd albumdisambig:explicit # no censored lyrics

# add official album releases
beet2mpd albumtype:album albumstatus:official

# add music released the day you were born
beet2mpd original_day:14 original_month:8 original_year:1990

# add music released this day in history
beet2mpd original_day:$(date +%d) original_month:$(date +%m)

# add music from year 2000-2004 that's NOT pop, rock, rap or hip-hop:
beet2mpd year:2000..2004 \^genre:pop,rock,rap,hip-hop

Expand Down Expand Up @@ -70,4 +74,4 @@ results from a given query won't be added to the playlist.

# COPYRIGHT

Copyright 2021 Magnus Woldrich
Copyright 2021,2022 Magnus Woldrich
5 changes: 4 additions & 1 deletion bin/beet2mpd
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ advanced query syntax system of beets.
# add music released the day you were born
beet2mpd original_day:14 original_month:8 original_year:1990
# add music released this day in history
beet2mpd original_day:$(date +%d) original_month:$(date +%m)
# add music from year 2000-2004 that's NOT pop, rock, rap or hip-hop:
beet2mpd year:2000..2004 \^genre:pop,rock,rap,hip-hop
Expand Down Expand Up @@ -145,4 +148,4 @@ results from a given query won't be added to the playlist.
=head1 COPYRIGHT
Copyright 2021 Magnus Woldrich
Copyright 2021,2022 Magnus Woldrich

0 comments on commit e51025f

Please sign in to comment.