Author Topic: Context sensitive "send to external tool"  (Read 1099 times)

Zak

  • Member
  • Hero Member
  • *****
  • Posts: 1917
Wouldn't you need to select 1 track from the album, rather than the album itself to only get one result?
Bee excellent to each other...

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9727
Wouldn't you need to select 1 track from the album, rather than the album itself to only get one result?

Yes, exactly.  Which, especially in Album view, takes notably more stopping to think about what you're doing, rather than just clicking on the command.
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.4)
(Unzip and overwrite existing program files)

Zak

  • Member
  • Hero Member
  • *****
  • Posts: 1917
To support all external programs, as I see it MusicBee should support the following:

All selected files sent as one command:
Program.exe "Track 1.mp3" "Track 2.mp3" "Track 3.mp3" etc.

All selected files sent as sequential commands:
Program.exe "Track 1.mp3" 
Program.exe "Track 2.mp3"
Program.exe "Track 3.mp3"
etc.

First selected file only (which I think would satisfy your request)
Program.exe "Track 1.mp3"

The first two could be configured with an extra check box on the Tools settings.
The third could be also be a checkbox (Send first file only) or a new parameter tag (e.g. <URL-first>). Either that or <URL>, being singular, could use the first file only, with a new tag (e.g. <URLs>) added to send all selected files.

The way it is configured now, I think it would be rare that someone would want to open a separate instance of an external program for each selected file.
Bee excellent to each other...

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9727
<URLs> and <URL> already provide the behavior you describe in 1) and 2), but only for that specific tag. 3) would do the trick for me, but it needs to be tag-agnostic. URL is always unique, my concern is the behavior with tags which are not unique.
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.4)
(Unzip and overwrite existing program files)

foxj

  • Jr. Member
  • **
  • Posts: 46
I noticed you were going to google.fr
Quote
parameters: "https://www.google.fr/search?q=<Artist> <Album>"

you may want to add hl=fr to your search if you want your lyrics in French.

like this:
Code
"https://www.google.fr/search?hl=fr&q=<Artist>+<Album>"

or open a new tab instead of window (--new-window)
Code
"/new-tab https://www.google.fr/search?hl=fr&q=<Artist>+<Album>"

For me, I was trying to do a lyrics search before I read this thread.
Code
"/new-tab https://www.google.com/search?hl=en&q=lyrics+<Title>+<Artist>"

foxj

  • Jr. Member
  • **
  • Posts: 46
BTW have you encountered the <Artist> tag which has and & in the name like Earth, Wind & Fire? Did you find a way around it? I tried Single and double quotes in different places none of which worked...