Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Foo automate, playlist find and scheduler replacement (Read 24154 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foo automate, playlist find and scheduler replacement

Reply #1
Does this not violate the TOS as it is just a bunch of obscene hacks?

Foo automate, playlist find and scheduler replacement

Reply #2
I don't think autohotkey violates anything.....
It just points at some imperfections
For ex: I've used AHK for tagging 1000 songs with lyrics.... but the next version of foo_lyricsdb.dll had an option like 'apply to all'

Foo automate, playlist find and scheduler replacement

Reply #3
Quote
15. Posting third party foobar2000 components.
To prevent users from encountering problems after installing new versions of foobar2000, links to any components that aren't fully compatible with foobar2000 API specifications (eg. using "hacks" to provide features that aren't legally available via API yet) will be removed from official pages, including forum posts. If you don't want your component to be banned, use only interfaces provided by foobar2000 SDK and avoid making any additional assumptons about the way application loading your component works.


Looks like it does


Foo automate, playlist find and scheduler replacement

Reply #5
<blurb>
keystroke/mouse-click capture and simulator
screen scraper (including reading the list of fields in a listview box within dialog box)
window manager (i.e. transparency, always on top)
you name it, it can do it
</blurb>

Foo automate, playlist find and scheduler replacement

Reply #6
Problem is, that there aren't any alternatives as far as I know, for example changing between different dsp presets. Before there is, smoothly working hack like this is better than nothing. Of course I would prefer a .dll plugin instead of an extra .exe file, but well..-

Foo automate, playlist find and scheduler replacement

Reply #7
Problem is, that there aren't any alternatives as far as I know, for example changing between different dsp presets. Before there is, smoothly working hack like this is better than nothing. Of course I would prefer a .dll plugin instead of an extra .exe file, but well..-

now i have made differents file because is very usefull to use with foo_run; you can easy set shortcut or use with  context menu
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #8
Does this not violate the TOS as it is just a bunch of obscene hacks?

first, it isn't a hack
second, if it is "obscene" make a plugin!
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #9
Does this not violate the TOS as it is just a bunch of obscene hacks?



I'm sure being completely disrespectful to the thread author is pretty rulebreaking, too
hi


Foo automate, playlist find and scheduler replacement

Reply #11
Hi!
Would you mind releasing the source code of this script? The ahk file...
Or at least give it to me?
Regards!

Foo automate, playlist find and scheduler replacement

Reply #12
Hi!
Would you mind releasing the source code of this script? The ahk file...
Or at least give it to me?
Regards!

done
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #13
Thank you! I get the following error:

---------------------------
Sleep Foobar.ahk
---------------------------
Error at line 28.

Line Text: {if sleep_down=0
Error: This line does not contain a recognized action.

The program will exit.
---------------------------
OK 
---------------------------


Regards

Foo automate, playlist find and scheduler replacement

Reply #14
Thank you! I get the following error:

---------------------------
Sleep Foobar.ahk
---------------------------
Error at line 28.

Line Text: {if sleep_down=0
Error: This line does not contain a recognized action.

The program will exit.
---------------------------
OK 
---------------------------


Regards


i have download the file, work here

suggestion, use foo alarm
http://www.hydrogenaudio.org/forums/index....mp;#entry416147
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #15
ok, works here with the latest ahk version 


Foo automate, playlist find and scheduler replacement

Reply #17
He did add the source code, check his first post =)
scripts_sources.zip ( 6.17k ) Number of downloads: 13

I changed the sleep foobar a bit, it turns volume down then pause the song, after specified time.
I use that as a substitute until we get foo_scheduler for 0.9
Windows 10 Pro x64 // foobar2000 1.3.10

Foo automate, playlist find and scheduler replacement

Reply #18
He did add the source code, check his first post =)
scripts_sources.zip ( 6.17k ) Number of downloads: 13
Meh, stupid me. I thought Melomane sent the sources directly to RogerG. 

Downloading! 

Foo automate, playlist find and scheduler replacement

Reply #19
Hello there!

Your script uses the command: Run, foobar2000.exe "/command:Volume down. The problem is, that this command uses the volume step that you have setted in foobar advanced settings. In my settings this was 1db. 1db was too much. When lying in my bed I was able to hear the steps. So I have set the step to 0.1db. A step of 0.1db can no longer be noticed by your ear. The problem then is that adjusting my volume with + or - takes too much time.
Isn't there a command to cange the volume independed of your volume step setting?

Regards!

Foo automate, playlist find and scheduler replacement

Reply #20
set in sleep_foo:
_________________________________________________________________
if( alarm_hour=A_HOUR and alarm_min=A_MIN and alarm_on=1)
    {
        SoundSet, +1, , mute
            Run, %Foo_folder%
sleep, 100
Loop, 300
         { Run, %Foo_folder% "/command:Volume down"
sleep, 33
               }
         SoundSet, +1, , mute
         Run, %Foo_folder% /command:play
         sleep, 2000
   [Loop, 300
         { Run, %Foo_folder% "/command:Volume up"
sleep, 200
               ___________________________________________
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #21
new obscene hack...made with autohotkey
download on bottom of post

 "Automate 2 foobar "

-if playlist name end with "#Tracks", playback order is set on shuffle(tracks) ,"#Albums" set shuffle(album), "#Default" set default, #Crossfader always active crossfader
-if mode is shuffle(tracks), crossfader is enabled.
-in others modes  crossfader is disable if next track is from same album and tracknumber is N+1.
-focus on playback mode box disable automatic mode
-set %playback% tag =default force playback mode on default



use  foo_dsp_crossfader and foo_cwb_hooks.

copy file on foobar directory and start.

set cwb_next_user1 = %album%
set cwb_next_user2 = %tracknumber%

set  formatting foobar main window title as:
Code: [Select]
[%artist% - ]['['%album%[ CD%discnumber%][ #%tracknumber%]']' ]%title%
//////////////////////////////////
$iflonger(%cwb_next_artist%,0,,$puts(crossfader,1))
$if($strcmp(%cwb_activelist%,%cwb_playinglist%),,$puts(crossfader,1))
$if($strcmp($cut($right(%cwb_playback_order%,7),6),tracks),$puts(crossfader,1),)
$if($strcmp(%cwb_next_user1%$num(%cwb_next_user2%,3),%album%$num($add(%tracknumber%,1),3)),,$puts(crossfader,1))
$ifgreater($get(crossfader),0,'          °¨°',)



autohotkey script
Code: [Select]

;
; AutoHotkey Version: 1.x
; Language:      English
; Platform:      Win9x/NT
; Author:        Melomane (domenico.guerra@laposte.net)
;
; Script Function:
;    auto set foobar2000 crossfader and playback mode
;
#SingleInstance force
SetTitleMatchMode, 2
DetectHiddenWindows, on

If 1=default
Foobar=ahk_class {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1
else
{
IfWinExist, ahk_class {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1
Foobar=ahk_class {DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1
else
Foobar=ahk_class {E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}
}

#Persistent
    SetTimer, detect_playback, 3000
   
            return

detect_playback:

IfWinNotexist, %Foobar%
return

WinGetTitle, titlefoo , %Foobar%
IfInString, titlefoo,Crossfader
{if cf<>1
{
Run, foobar2000.exe /command:enable
cf=1
}
}
else
{if cf<>0
{
Run, foobar2000.exe /command:disable
cf=0
}
}

IfWinNotactive, %Foobar%
return

ControlGetFocus,onfocus,%Foobar%
if onfocus<>ComboBox1
{
IfInString, titlefoo,Auto albums shuffle
run foobar2000.exe /"command:Shuffle (albums)"

IfInString, titlefoo,Auto tracks shuffle
run foobar2000.exe /"command:Shuffle (tracks)"

IfInString, titlefoo,Auto default playback
run foobar2000.exe /"command:Default"
}

return

Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #22
@Melomane: What's that 1=default thing there?

Why not use Process, Exist, foobar2000.exe to get fub's PID?

Foo automate, playlist find and scheduler replacement

Reply #23
@Melomane: What's that 1=default thing there?

Why not use Process, Exist, foobar2000.exe to get fub's PID?

1 is first command line option for script.
it is for force use with default UI.
without option column is set if script start before foobar
if foobar exist at startup of script, script detect and set gui.
sorry for my bad english
Music is my first love.

Foo automate, playlist find and scheduler replacement

Reply #24
make mod to automate , see first post
Music is my first love.

 
SimplePortal 1.0.0 RC1 © 2008-2021