Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend mbsubmit plugin to run after initial import #4456

Merged
merged 9 commits into from
Aug 27, 2022

Conversation

arsaboo
Copy link
Contributor

@arsaboo arsaboo commented Aug 24, 2022

Description

Adds a command mbsubmit to run even after the initial import. The command accepts queries and prints the tracklist to be submitted to MB. Users can now run something like beet mbsubmit album:"Atrangi Re" to generate the track listing (see output below).

arsaboo@ubuntuvm2:~/beets$ beet mbsubmit album:"Atrangi Re"
01. Garda - A.R. Rahman, Daler Mehndi (3:44)
02. Chaka Chak - A.R. Rahman, Shreya Ghoshal (4:31)
03. Tere Rang - A.R. Rahman, Haricharan, Shreya Ghoshal (4:34)
04. Little Little - A.R. Rahman, Dhanush, Hiral Viradia (4:18)
05. Tumhein Mohabbat - A.R. Rahman, Arijit Singh (3:07)
06. Rait Zara Si - A.R. Rahman, Arijit Singh, Shashaa Tirupati (4:51)
07. Toofan Si Kudi - A.R. Rahman, Rashid Ali (3:37)

Fixes #4455

To Do

  • Documentation. (If you've add a new command-line flag, for example, find the appropriate page under docs/ to describe it.)
  • Changelog. (Add an entry to docs/changelog.rst near the top of the document.)
  • Tests. (Encouraged but not strictly required.)

@arsaboo arsaboo changed the title Extend mbsubmit plugin to run after initial import [Small PR] Extend mbsubmit plugin to run after initial import Aug 24, 2022
@arsaboo arsaboo changed the title [Small PR] Extend mbsubmit plugin to run after initial import Extend mbsubmit plugin to run after initial import Aug 24, 2022
@sampsyo
Copy link
Member

sampsyo commented Aug 27, 2022

Wow; excellent!! Nice work on this—it's a clean and obviously useful addition. 👏

@sampsyo sampsyo merged commit 50bd693 into beetbox:master Aug 27, 2022
@JOJ0
Copy link
Member

JOJ0 commented Sep 5, 2022

Awesome feature @arsaboo ❤️

@arsaboo arsaboo deleted the mbsubmit branch March 23, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants