INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC search bar: add, Queue etc instead of play results possible?  (Read 1228 times)

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
MC search bar: add, Queue etc instead of play results possible?
« on: November 12, 2018, 12:44:43 am »

Hi
So i read the documentation on the search bar and it seems i can play the search results by typing Control+Enter.
yet how does one  add, add as play next etc instead of playing immediately results, is this possible?
if not how does one formally add a feature request (a separate post?), is there a request thread?

thx!

Z
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #1 on: November 12, 2018, 02:50:34 pm »

When you see a list of results, just pick them all (Ctrl+A) and right-click and pick "Add to Playing Now".  There are more advanced play commands in the menu as well.
Logged
Matt Ashland, JRiver Media Center

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #2 on: November 12, 2018, 10:17:35 pm »

thx matt!

yeah was looking for a way for a mouse free method of quick adding songs, ie keep my hand on keyboard. would it be possible to add a request for a user defined/fixed additional keyboard shortcuts to add to playing now instead of replace playing now? could be shift-enter or alt-enter instead of ctrl-enter?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #3 on: November 13, 2018, 10:47:59 am »

Hey, that we can do!

Next build:
NEW: Pressing Ctrl+Q+Enter in a search box adds the files to Playing Now (Ctrl+Enter plays).

I settled on Q because several other keys were already being handled.

Thanks for the idea :)
Logged
Matt Ashland, JRiver Media Center

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #4 on: November 13, 2018, 11:40:27 am »

If MC had Core Commands for the various queuing options (Add to playing now, Add as next to play, etc), then the custom key mapping mechanism could be used to map these to the key of one's choice.

In fact, I think just one new Core Command would be required, with probably an optional argument that selected the enqueuing type.

Brian.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #5 on: November 13, 2018, 01:27:03 pm »

If MC had Core Commands for the various queuing options (Add to playing now, Add as next to play, etc), then the custom key mapping mechanism could be used to map these to the key of one's choice.

In fact, I think just one new Core Command would be required, with probably an optional argument that selected the enqueuing type.

Brian.

What command are you thinking?

I think the search currently fires this command, but it's all internal:
MCC_PLAY_OR_SHOW

Today I added the parameter bool bAppend.  I could make it take an integer for the playback type, but I need to understand what you're doing a bit better.
Logged
Matt Ashland, JRiver Media Center

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #6 on: November 13, 2018, 02:31:43 pm »

My idea was based on this:

When you are in standard view and you highlight some files, you can right click, and get a menu called "more playing options".  That menu has a bunch of ways to either play immediately, or enqueue the tracks.  Enqueuing options include Add (play now), Add (as next to play), Add (shuffled), etc.

I was thinking if there was a core command that could do those enqueuing options, then you could search or manually select, or whatever, and then you could call the Core Command via a hotkey that you mapped.

I've seen people ask for something similar once or maybe twice before.  I'm not sure how useful it would be.  Just an idea.  I don't think I would personally use it.  I was suggesting it because it seems more flexible than a hard coded hot key.

Thanks,

Brian.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #7 on: November 13, 2018, 02:57:27 pm »

Sure thing blgentry.

Coming next build:
NEW: Added the MCC MCC_LIST_SEND_TO_PLAYING_NOW (26031) to add selected files to Playing Now using any of the modes available (play shuffled, add albums to end, etc.).
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #8 on: November 13, 2018, 03:03:25 pm »

Here are the available modes:
enum SENDTO_PLAYING_NOW_TYPES
{
   SENDTO_PLAYING_NOW_TYPE_PLAY_ALL_VISIBLE = 1,
   SENDTO_PLAYING_NOW_TYPE_PLAY,
   SENDTO_PLAYING_NOW_TYPE_PLAY_SHUFFLED,
   SENDTO_PLAYING_NOW_TYPE_PLAY_AUTOMATIC_PLAYLIST,
   SENDTO_PLAYING_NOW_TYPE_PLAY_ALBUM_SHUFFLED,
   SENDTO_PLAYING_NOW_TYPE_PLAY_SHUFFLED_ALBUMS,
   SENDTO_PLAYING_NOW_TYPE_ADD_TO_END,
   SENDTO_PLAYING_NOW_TYPE_ADD_AS_NEXT_TO_PLAY,
   SENDTO_PLAYING_NOW_TYPE_ADD_PLAY_NOW,
   SENDTO_PLAYING_NOW_TYPE_ADD_SHUFFLED,
   SENDTO_PLAYING_NOW_TYPE_ADD_SHUFFLE_ALL,
   SENDTO_PLAYING_NOW_TYPE_ADD_SHUFFLE_REMAINING,
   SENDTO_PLAYING_NOW_TYPE_ADD_TO_BEGINNING,
   SENDTO_PLAYING_NOW_TYPE_ADD_AFTER_CURRENT_ALBUM,
   SENDTO_PLAYING_NOW_TYPE_ADD_AFTER_CURRENT_ARTIST,
   SENDTO_PLAYING_NOW_TYPE_ADD_ALBUM,
   SENDTO_PLAYING_NOW_TYPE_ADD_ARTIST,
   SENDTO_PLAYING_NOW_TYPE_REMOVE,
   SENDTO_PLAYING_NOW_STOP_AFTER_TRACK,
};
Logged
Matt Ashland, JRiver Media Center

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #9 on: November 14, 2018, 09:38:23 pm »

Coming next build:
NEW: Added the MCC MCC_LIST_SEND_TO_PLAYING_NOW (26031) to add selected files to Playing Now using any of the modes available (play shuffled, add albums to end, etc.).

Awesome!! :) , will this also be in the OSX and linux builds?

best

Z
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #10 on: November 15, 2018, 02:35:26 pm »

Thanks Matt.  That's neat.  :)

Brian.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MC search bar: add, Queue etc instead of play results possible?
« Reply #11 on: November 15, 2018, 02:40:48 pm »

Awesome!! :) , will this also be in the OSX and linux builds?

It's in the code so will arrive on Mac and Linux once there's a new build.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up