Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 06:00:07 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [feature request] i have no idea if this is hard to do...  (Read 5736 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
[feature request] i have no idea if this is hard to do...
« on: July 23, 2007, 07:52:00 AM »
Hi mouser, i'd like to suggest a small feature but which would be very useful for some complex alias

i have an alias to search my music, since all my music is organized in folders, i only search folder, then i can play it or enqueue it to winamp thanks to the action keyword "open_winamp" :

Music album search $$1 | dosearch -alias +folder_music +open_winamp +\ $$1

see capture when i search music (m + keyword) : m mar
music1.png

when i select a result, i get the action keyword triggered, i then have to choose between the different action
music2.png
what i'd like to do is Play my selected folder, keep FARR opened (thanks to /stayopen) THEN go back to the result list (to be able to enqueue further albums...)

how could we do it ? i thought through a restartsearch command.... (see capture)
maybe restartsearch $$searchbox

the thing is, the result list (all the albums) must be still there (i guess), so we don't want to really RESTART the search, since it could take a few seconds (even more on a network drive)





ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #1 on: July 23, 2007, 10:15:39 AM »
Sorry i can't help you with that, i'd just like to know if you could share these aliases and stuff because i'm looking for a way to browse my mp3 collection just like you do. Besides, it would help to understand how aliases work because i can't find any valuable instructions (maybe i didn't search very well).

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,104
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #2 on: July 23, 2007, 10:17:14 AM »
Yes, please share your aliases! I organize my mp3s just like that, too, so it would be very helpful!

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #3 on: July 23, 2007, 10:27:51 AM »
And make a screencast while you're at it because it would be great to include for FARR promotions.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #4 on: July 23, 2007, 12:22:29 PM »
so here is how to create a nice alias for searching music collection organized in folders (one folder = one album)  ;D

1) create a new entry in the search folders tab
  • directory = your music folder
  • use an optional keyword (ex: folder_music)
mp3_1.png

2) create a new action alias (this one is to invoke different actions on the selected result) VERY POWERFUL FARR TRICK
mp3_2.png
one could add actions to play/enqueue in itunes or windows media player, etc.

3) then create the search template using the dosearch command VERY POWERFUL FARR TRICK
mp3_3.png
the regexp mask is
^m (.*)
so that "m " triggers the alias
the search template is
Music album search $$1 | dosearch -alias +folder_music +open_winamp +\ $$1
  • -alias means i don't want to search alias
  • +folder_music tells FARR, i just want results from my music folder
  • +\ tells FARR i just want folders
  • +open_winamp is the action modifier


Notes :
  • you can in matter of seconds create a second music alias for searching a networked drive, call it "mn" for music network, create a new search folder entry with the UNC path \\network\my music... this is a very handy way to play music on a networked drive...
  • regexp aliases + dosearch + action modifier is VERY POWERFUL and IMHO makes FARR unique
  • it would be great to be able to select multiple results then invoke the action... (we could enqueue multiple albums...)
  • i cannot really share this alias since this trick uses a search folder entry, an action alias, ... so i made a step-by-step explanation

hope it will be helpful
« Last Edit: July 23, 2007, 12:25:46 PM by nitrix-ud »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,410
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #5 on: July 23, 2007, 03:40:05 PM »
thats a wonderful trick nitrix, thank you for sharing!

Quote
i cannot really share this alias since this trick uses a search folder entry, an action alias, ... so i made a step-by-step explanation

perhaps we can remedy that.. it seems to me i should set up some default folders like MyMusic, MyPictures, etc, using keyword modifiers to make it easier for sharing this kind of thing -- then you'd just have to share an alias file which would work for anyone.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #6 on: July 23, 2007, 03:52:21 PM »
Quote
perhaps we can remedy that.. it seems to me i should set up some default folders like MyMusic, MyPictures, etc, using keyword modifiers to make it easier for sharing this kind of thing -- then you'd just have to share an alias file which would work for anyone.

nice idea !

ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #7 on: July 24, 2007, 03:26:53 AM »
Thanks nitrix, it works ! However, i have a little problem : i can't use numpad to launch a result. When i press a numpad key it adds the number to the search instead of launching the corresponding item. How come ?

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #8 on: July 24, 2007, 04:14:49 AM »
@_ak
i think it has to do with your options (interface tab, second checkbox)
since i'm on a notebook with no numeric keyboard, i never use numpad...

ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #9 on: July 24, 2007, 05:27:19 AM »
Thanks for your answer. I also thought it could be an configuration problem, so i checked the options and didn't find anything. Actually i use numpad all the time with farr, the problem only occurs with this alias. Weird... Mouser, any idea maybe ?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #10 on: July 24, 2007, 05:35:17 AM »
@ak_: IIRC, the numbers don't launch results in aliases, because of fcalc. If they did, fcalc wouldn't work. Not sure if this this, though.

ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #11 on: July 24, 2007, 05:38:06 AM »
Oh crap... I hope this will be set as an option in the future, because i don't use fcalc. Thanks jpgaiva :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,410
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #12 on: July 24, 2007, 02:14:17 PM »
wait.. what? i'm confused.

ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #13 on: July 24, 2007, 06:02:13 PM »
Problem :

I'm using nitrix's alias to browse my music collection :
farr01.jpg

I decide i want to launch the second item, so i hit 2 on the numpad and then :
farr02.jpg

So jpgaiva's answer is : you can't use numpad with aliases because of fcalc. If that's the reason, i'm wondering if it could be set as an option, because i don't use fcalc but use the numpad a lot.

Hope it's clearer now :)

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #14 on: July 24, 2007, 06:47:35 PM »
Does anybody know how to do this using JRiver Media Center? I am using the following:
Play | MC12.exe /PlayReplace "$$1"
Append | MC12.exe /Append "$$1"
Back | restartsearch m $$c

This will not load folders of music but will load individual songs.

http://wiki.jrmediac...php/The_Command_Line

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #15 on: July 24, 2007, 06:53:07 PM »
edbro: from reading that wiki page, i think there's no way to append entire folders.
I don't have jriver, thus can't test it, but maybe the following works:
Play | MC12.exe /PlayReplace "$$1*"
Append | MC12.exe /Append "$$1*"
Back | restartsearch m $$c
So that the command line would be, for example: c:\music\*. Not sure if it'd solve the problem, though.

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #16 on: July 26, 2007, 09:15:55 PM »
Okay, my media player doesn't have a command line option for loading folders. But, I do have a utility that will recursively create playlists. So, how could I implement this so that FARR will search folders and find m3u playlists? I already know the command line to load them (Play | MC12.exe /PlayReplace "$$1*").

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #17 on: July 27, 2007, 04:46:29 AM »
Here edbro:

Replace the following command line:
Music album search $$1 | dosearch -alias +folder_music +open_winamp +\ $$1
with
playlist seach $$1 | dosearch -alias +folder_music +open_winamp *.m3u +sall $$1

:) That should do it.
I replaced the "+\" which means "only seach for folders" by "*.m3u", which means only seach for playlists.
Also added "+sall" so that all the hits are shown.

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #18 on: July 27, 2007, 06:40:45 AM »
Beautiful! Thanks jgpaiva.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: [feature request] i have no idea if this is hard to do...
« Reply #19 on: August 20, 2007, 05:06:12 AM »
back to the first post :
Quote
what i'd like to do is Play my selected folder, keep FARR opened (thanks to /stayopen) THEN go back to the result list (to be able to enqueue further albums...)

how could we do it ? i thought through a restartsearch command.... (see capture)
maybe restartsearch $$searchbox

the thing is, the result list (all the albums) must be still there (i guess), so we don't want to really RESTART the search, since it could take a few seconds (even more on a network drive)

this feature is a MUST (IMHO) ... to be able to go back to the result from the action list
if you search music on a network drive for example, it can take up to 10 seconds, so it would be great to be able to enqueue multiple albums

(EVEN BETTER, it would be great if one could select multiple results and perform actions with them... for FARR v3)