Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
After using SqueezePlay for years and having more and more trouble with it I tried Squeezelite-X and it works very well. One nice thing about it is that it gives you a separate window for LMS that you can keep in the corner of your desktop. You don't need to have a browser open. What I do now is use Foobar 2000 to browse my collection and send the output to LMS (with the UPnP LMS plug-in via the UPnP Foobar plugin). I can do tagging within Foobar or open files in MP3Tag from Foobar for more extensive tagging. I can also open files from MP3Tag and Foobar sends them to LMS. There are quite a few possibilities. ___ Logitech Media Server Version: Logitech Media Server Version: 7.9.2 - ARCH-AUR-REL.7.9.2.arch2 running on Wandboard Quad, music library on SATA HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary (not unidirectional) copper cable. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: > Try changing the IP address in the AutoIt script from your local PC > address ($m_ip = "127.0.0.1") to the IP address of your Wandboard. > > If it's configured via DHCP, your Wanboard will need a fixed IP address. I managed to get this to work without the AutoIT thing by installing the UPnP MediaRender Output Foobar component and the UPnP/DLNA Media Interface in LMS. LMS now accepts and plays the current stream. What I'd like to do now is: - get LMS to display the album art, metadata, etc., or maybe just the filename, for each file being played - get Foobar to output sound to my computer speakers as well as to LMS. ___ Logitech Media Server Version: Logitech Media Server Version: 7.9.2 - ARCH-AUR-REL.7.9.2.arch2 running on Wandboard Quad, music library on SATA HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary (not unidirectional) copper cable. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Lestrad wrote: > I was happy to see people were still using this and I've been trying to > get it work. So far I've had no luck though I followed Fizbin's > excellent instructions carefully. All I've managed to get it to do is > zero out the playlist that was on LMS. > > My LMS is running on a Wandboard (wired network) and Foobar 2000 runs on > my desktop computer. Could that be the problem? I filled in the IP of > LMS and the MAC of my Touch before compiling FooSQ. > > Any tips on getting this solution, or another one for controlling LMS > via Foobar, to work would be greatly appreciated. > > TIA > Les Try changing the IP address in the AutoIt script from your local PC address ($m_ip = "127.0.0.1") to the IP address of your Wandboard. If it's configured via DHCP, your Wanboard will need a fixed IP address. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Try changing the IP address in the AutoIt script from your local PC address ($m_ip = "127.0.0.1") to the IP address of your Wandboard. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I've been trying to get this to work and was happy to see people were still using it as of a few months ago. However my LMS is running on a Wandboard (wired network) and Foobar 2000 runs on my desktop computer. But if it will only run when all components are on the same computer, why are the IP of LMS and the MAC of the player handled by the code? Any tips on getting this solution, or another one for controlling LMS via Foobar, to work would be greatly appreciated. TIA Les ___ Logitech Media Server Version: Logitech Media Server Version: 7.9.2 - ARCH-AUR-REL.7.9.2.arch2 running on Wandboard Quad, music library on SATA HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary copper cable. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Virgus wrote: > Hello Fizbin, hello everybody, I just discovered this thread and all the > related ones. > I downloaded the archive from the dropbox link and installed everything > with Foobar latest version (v1.4.3). > I followed the instructions carefully and double checked them but I > couldn't make it work. > I tried everything on an old XP for compatibilty purposes... > > I also tried setting the foobar library on a tmp network path (and set > $m_naspath = "\\Asus\ShareTmp") as I don't know how the squeezebox > server would access the files from my PC but got no improvement at all. > > > Does anybody have a working portable setup to share with me? > > Thanks and have a nice weekend, > V. Sorry, I missed this post. I still use this script today and I've set it up on four different PC's with no issues. In order for this to work (unless you make your own changes) LMSFoobar2000 and FooSQ need to be on the same computer. Also, you can't run plain-vanilla Foobar2000. You need to run it in ColumnsUI mode with a theme. (Can FB2 be run ColumnsUI with no theme? Not sure) Also be sure the mac address that you input in the FooSQ file is correct. Finally, be sure Foobar2000 is booted before running the compiled FooSQ file. In my post above I have included a new FooSQ file. The old one would crash on me every so often if I did too much skipping (tracks) or seeking with the seek bar. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: > I have completely revamped the instructions and included all files > needed. > > You need to have Foobar2000's ColumnsUI for this to work. (IE: Using a > skin) > > https://www.dropbox.com/s/e9q95z87vx5dp0e/FooSQ.7z?dl=0 > (Just close the Sign In box and then you can download) > > Password: sbt Hello Fizbin, hello everybody, I just discovered this thread and all the related ones. I downloaded the archive from the dropbox link and installed everything with Foobar latest version (v1.4.3). I followed the instructions carefully and double checked them but I couldn't make it work. I tried everything on an old XP for compatibilty purposes... I also tried setting the foobar library on a tmp network path (and set $m_naspath = "\\Asus\ShareTmp") as I don't know how the squeezebox server would access the files from my PC but got no improvement at all. Does anybody have a working portable setup to share with me? Thanks and have a nice weekend, V. Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
This is the script you want to use. It works flawlessly for me, but I'm just using a straight PC (LAN) to SBT setup. I removed the auto loading component. I felt it was more stable without it. Just load Foobar2000 first and then the script. > > $m_ip = "127.0.0.1" > $m_port = 9090 > $m_playerid = "00:04:40:22:f2:80" > $m_amip = "C:\MUSIC\LMS directory\nextsong.txt" > $m_fooh = "[CLASS:{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}]" > $m_naspath = "C:\MUSIC\LMS directory" > $m_f = "" > $m_r = "0" > $m_j = "0" > $m_q = "?" > $m_t = "" > $m_n = "" > $m_ze = "" > $m_vn = "" > $m_sq = "" > $m_title = "" > $m_idle = 0 > $m_xo = "0" > $m_seek = 0 > $m_elt = "" > $m_seekt = 1 > $m_0seek = 0 > SplashTextOn( "FooSQ", "Loading...", 250, 50) > WinWait($m_fooh, "", 60) > $m_fooha = WinGetHandle($m_fooh) > TCPStartup() > SplashOff() > $m_tcp = TCPConnect($m_ip, $m_port) > if @error Then > MsgBox(1, "FooSQ", "Not working") > Else > SplashTextOn( "FooSQ", "Connected!", 250, 50) > SplashOff() > EndIf > While WinExists($m_fooha) > $m_title = WinGetTitle($m_fooha) > If StringRegExp($m_title, "foobar2000") Then > $m_idle = 1 > Else > $m_idle = 0 > EndIf > If $m_idle = 0 And $m_title <> "" Then > $a_tn = StringSplit($m_title, "/") > $m_vn = $a_tn[1] > $m_r = $a_tn[2] > $m_q = $a_tn[3] > $m_elt = $a_tn[4] > if number($m_seekt) > 0 AND $m_0seek = 0 Then > $m_seekv = number($m_r) - number($m_xo) > if abs($m_seekv) > $m_seekt AND $m_xo <> "0" AND $m_f = > $m_vn Then > $m_seek = 1 > Endif > Endif > $m_xo = $m_r > if $m_0seek > 0 then > $m_0seek = $m_0seek -1 > endif > Else > $m_0seek = 50 > EndIf > Select > Case $m_idle = 1 And $m_j <> "0" > $m_j = "0" > TCPSend($m_tcp,$m_playerid & " stop" & @CRLF & " playlist > clear " & @CRLF) > Case $m_idle = 0 And $m_j = "0" > $m_j = "1" > $m_f = $m_vn > $m_sq = StringReplace(StringReplace(StringReplace($m_vn, "", > "/"), " ", "%20"), $m_NASPath, "") > TCPSend($m_tcp,$m_playerid & " playlist play " & $m_sq & > @CRLF) > Case $m_idle = 0 AND $m_j = "1" AND $m_seek = 0 > if $m_q = "1" Then > $m_j = "2" > TCPSend($m_tcp,$m_playerid & " pause 1 " & @CRLF) > Else > if $m_f <> $m_vn Then > if $m_t = "0" Then > if $m_vn <> $m_n Then > $m_sq = > StringReplace(StringReplace(StringReplace($m_vn, "", "/"), " ", "%20"), > $m_NASPath, "") > TCPSend($m_tcp,$m_playerid & " playlist > play " & $m_sq & @CRLF) > Endif > endif > $m_t = "" > $m_ze = "" > $m_f = $m_vn > Else > if number($m_r) < 12 AND number($m_r) > 1 Then > if $m_ze = "" Then > $m_amips = FileOpen($m_amip, 0) > $m_n = FileReadLine($m_amip) > FileClose($m_amip) > $m_sq = > StringReplace(StringReplace(StringReplace($m_n, "", "/"), " ", "%20"), > $m_NASPath, "") > TCPSend($m_tcp,$m_playerid & " playlist > insert " & $m_sq & @CRLF) > $m_ze = "1" > Endif > Endif > if Number($m_r) < 2 Then > $m_t = "0" > Endif > Endif > EndIf > Case $m_idle = 0 And $m_j = "2" > If $m_q = "?" Then > $m_j = "1" > TCPSend($m_tcp,$m_playerid & " pause 0 " & @CRLF) > EndIf > Case $m_idle = 0 AND $m_j = "1" AND $m_seek = 1 > $m_seek = 0 > $m_ze = "" > TCPSend($m_tcp,$m_playerid & " playlist clear" & @CRLF) > TCPSend($m_tcp,$m_playerid & " playlist play " & > StringReplace(StringReplace(StringReplace($m_vn, "", "/"), " ", "%20"), > $m_naspath, "") & @CRLF) > TCPSend($m_tcp,$m_playerid & " pause 1" & @CRLF) > sleep(50) > TCPSend($m_tcp,$m_playerid & " time " & $m_elt & @CRLF) > Sleep(50) > TCPSend($m_tcp,$m_playerid & " pause 0" & @CRLF) > EndSelect > Sleep(50) > WEnd > TCPSend($m_tcp,$m_playerid & " stop " & @CRLF & " playlist clear " & > @CRLF) > Sleep(1) > Exit > Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
doggod wrote: > Hi, > Not sure if I completly have understood you right of what you've done or > not? But you'll need to put in the mac address not the ip of the > player. > ie like this, this works fine for me ; > SqueezeBoxServerIP="127.0.0.1" > SqueezeBoxServerCLIPort=9090 > SqueezeBoxPlayerID="12:34:56:78:02:03" (note : example only) > Foobar2000Location="C:\xx\xxx\foobar2000.exe" > AMIPFile="C:\nextsong.txt This is how the first 22 lines of the code look now: Code: $m_amip = "I:\nextsong.txt" $m_ip = "192.168.0.14" $m_port = 9000 $m_fooh = "[CLASS:{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}]" $m_fooexe = "C:\Program Files (x86)\foobar2000\foobar2000.exe" $m_f = "" $m_r = "0" $m_s = "0" $m_p = "?" $m_t = "" $m_n = "" $m_ne = "" $m_fn = "" $m_sq = "" $m_title = "" $m_idle = 0 $m_ro = "0" $m_seek = 0 $m_elt = "" $m_seekt = 8 $m_0gap = 0 $m_0seek = 0 Where would i have to insert my players mac address? And could i add multiple addresses? would it automatically synchronize the players then? wurstsalat's Profile: http://forums.slimdevices.com/member.php?userid=64140 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
wurstsalat wrote: > > Where would i have to insert my players mac address? > And could i add multiple addresses? would it automatically synchronize > the players then? I've never used this script, but see the script in post #103, the one in #74 don't has the player id. Note that the port to use is 9090 by default (the one where LMS listens for CLI commands). You can add a single player's address only. Guess if you defined the syncing behavior manually before submitting the commands, it will be kept then. Or you can add commands to the script for specifying the syncing behavior. reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
wurstsalat wrote: > ok. > i don't know if this is super stupid now: > > i'm running the logitech media server on a rasperry pi. > i use squezzelite on other rasperries. > now i try to control all those players with my foobar on my windows > machine. > > 1. i got the script. the one from page 8 post 74. > 2. i changed the ip adress to the internal ip of my raspberry running > the server. (also the port) > 3. i followed all the steps in the instructions html. > 4. i ran the script. -> foobar starts. and then when i play something it > just comes out of my pc speakers. nothings runnin on the squeezelite > players. > > Do i get the whole purpose of the script wrong? > or do i do something wrong? > > any help is appreciated. > > thank you Hi, Not sure if I completly have understood you right of what you've done or not? But you'll need to put in the mac address not the ip of the player. ie like this, this works fine for me ; SqueezeBoxServerIP="127.0.0.1" SqueezeBoxServerCLIPort=9090 SqueezeBoxPlayerID="12:34:56:78:02:03" (note : example only) Foobar2000Location="C:\xx\xxx\foobar2000.exe" AMIPFile="C:\nextsong.txt doggod's Profile: http://forums.slimdevices.com/member.php?userid=46431 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
ok. i don't know if this is super stupid now: i'm running the logitech media server on a rasperry pi. i use squezzelite on other rasperries. now i try to control all those players with my foobar on my windows machine. 1. i got the script. the one from page 8 post 74. 2. i changed the ip adress to the internal ip of my raspberry running the server. (also the port) 3. i followed all the steps in the instructions html. 4. i ran the script. -> foobar starts. and then when i play something it just comes out of my pc speakers. nothings runnin on the squeezelite players. Do i get the whole purpose of the script wrong? or do i do something wrong? any help is appreciated. thank you wurstsalat's Profile: http://forums.slimdevices.com/member.php?userid=64140 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: Well I'm still not getting gapless with this, although I honestly didn't think I would. I don't understand how the SBT/Foobar can play gapless when the SBT stops and plays each track without knowing what the next one will be (no buffering). Do you have the amip plugin running in foobar? (as detailed in the instructions http://web.archive.org/web/20110505035757/http://www.at-sea.com/FooSQ.html) That's how it buffers the next track. That's what this part of the code does: Code: if number($m_r) 12 AND number($m_r) 1 Then if $m_ne = Then $m_amips = FileOpen($m_amip, 0) $m_n = FileReadLine($m_amip) FileClose($m_amip) $m_sq = StringReplace(StringReplace(StringReplace($m_n, \, /), , %20), $m_NASPath, ) TCPSend($m_tcp,$m_playerid playlist insert $m_sq @CRLF) $m_ne = 1 Endif 12 seconds before the end of the track, the script checks the amip text file to find the next playlisted track and then the playlist insert command places it next. I seem to remember that the original code was not set to 12 seconds but I was having a problem with the odd short track so I changed it to this. annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Yes, everything is setup perfectly. I actually rewrote the instructions, with a link...a few posts up. The only thing different about my AMIP is I have Enable Hotkeys checked, but I don't think that would do anything. I'll uncheck it just in case. If you click on your nextsong.txt file, what does the file currently contain? Mine always says... np: (Winamp is not active ;-) Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Forgot to ask... Which version of Foobar2000 are you using? Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I now have gapless! As it turns out, the nextsong.txt file does not work in my C directory. I'm not sure why that is. I just changed it to where my music files reside. (I don't use the Windows default music directory, by the way. I've heard the SBT can have issues with it). When the file was in my C directory it had to be manually created, which I thought was odd. But when I moved it to my music directory (or nas path) the txt file created itself. When I played a track I clicked on the txt file and it showed the next song on the list. As soon as I saw that I knew it would work. One other thing, for others who maybe interested in trying this... I suggest running EVERYTHING as admin. That includes installing everything as admin as well. Especially the AMIP-2.67-foobar2000 install file. I'll have to update my instructions and repost them. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
You're back! It's about time. :) I can't wait to try this tomorrow. What does this line here do... AutoIt3Wrapper_icon=foo_largeico.ico / What is foo_largeico.ico? I'm sure I'll have other questions later. Thanks. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I suspect the first four lines are unnecessary and probably a relic from an older version. I think what they do is create an embedded icon on the compiled exe. Mine doesn't have a foobar icon and I can't find the .ico referenced. Similarly, the #AutoIt3Wrapper_outfile=FooSQ6a.exe line doesn't appear to do anything either. annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
That's what I figured, so I took them out. I still haven't got a chance to try this. Won't be able till later tonight. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Well I'm still not getting gapless with this...although I honestly didn't think I would. I don't understand how the SBT/Foobar can play gapless when the SBT stops and plays each track without knowing what the next one will be (no buffering). It's not a big deal for me, anyway. I mostly use Foobar to compare different pressings of vinyl and CD's, so if I'm going to play an entire album I can use Squeezeplay. Which brings me to another problem...This script (and all the other FooSQ scripts) has a tendency to crash after 30 minutes, if you are constantly selecting different tracks. If you just leave it alone and let it play through the Foobar playlist, it won't crash. It always gets hung up on the same lines of code: $m_r = $a_tn[2] and $m_p = $a_tn[3] In a couple weeks I'm buying a new PC, so I'll see how it goes with that. AM... What computer and OS / Memory are you running? Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi, Sorry, I haven't been on in a while and logged in and got some pms about this. Thought I would see if I could help, although it does appear like you probably solved it yourself. I've put my current code below which is for nas as well as columnsui. It might not be what you were looking for but you might be able to spot something useful there. I've replaced the parts that need customised in bits. Quotation marks are necessary around them when they are included (that is every replacement except port) Code: #Region ; Directives created by AutoIt3Wrapper_GUI #AutoIt3Wrapper_icon=foo_largeico.ico #AutoIt3Wrapper_outfile=FooSQ6a.exe #EndRegion ; Directives created by AutoIt3Wrapper_GUI $m_ip = insert ip of lms/squeezebox server here $m_port = insert port. I'm using 9595 $m_playerid = squeezebox mac address $m_fooexe = location of foobar exe $m_amip = location of amip text file $m_fooh = [CLASS:{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}] $m_naspath = location of music library or local music library to be substituted later with server drive. e.g. c:/Music *see below $m_f = $m_r = 0 $m_s = 0 $m_p = ? $m_t = $m_n = $m_ne = $m_fn = $m_sq = $m_title = $m_idle = 0 $m_ro = 0 $m_seek = 0 $m_elt = $m_seekt = 8 $m_0seek = 0 SplashTextOn( FooSQ, Loading..., 250, 50) Run($m_fooexe, , @SW_MAXIMIZE) WinWait($m_fooh, , 60) $m_fooha = WinGetHandle($m_fooh) TCPStartup() SplashOff() $m_tcp = TCPConnect($m_ip, $m_port) if @error Then MsgBox(1, FooSQ, Not working) Else SplashTextOn( FooSQ, Connected!, 250, 50) SplashOff() EndIf While WinExists($m_fooha) $m_title = WinGetTitle($m_fooha) If StringRegExp($m_title, foobar2000) Then $m_idle = 1 Else $m_idle = 0 EndIf If $m_idle = 0 And $m_title Then $a_tn = StringSplit($m_title, /) $m_fn = $a_tn[1] $m_r = $a_tn[2] $m_p = $a_tn[3] $m_elt = $a_tn[4] if number($m_seekt) 0 AND $m_0seek = 0 Then $m_seekv = number($m_r) - number($m_ro) if abs($m_seekv) $m_seekt AND $m_ro 0 AND $m_f = $m_fn Then $m_seek = 1 Endif Endif $m_ro = $m_r if $m_0seek 0 then $m_0seek = $m_0seek -1 endif Else $m_0seek = 50 EndIf Select Case $m_idle = 1 And $m_s 0 $m_s = 0 TCPSend($m_tcp,$m_playerid stop @CRLF playlist clear @CRLF) Case $m_idle = 0 And $m_s = 0 $m_s = 1 $m_f = $m_fn $m_sq = StringReplace(StringReplace(StringReplace($m_fn, \, /), , %20), $m_NASPath, ) TCPSend($m_tcp,$m_playerid playlist play $m_sq @CRLF) Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 0 if $m_p = 1 Then $m_s = 2 TCPSend($m_tcp,$m_playerid pause 1 @CRLF) Else if $m_f $m_fn Then if $m_t = 0 Then if $m_fn $m_n Then $m_sq = StringReplace(StringReplace(StringReplace($m_fn, \, /), , %20), $m_NASPath, ) TCPSend($m_tcp,$m_playerid playlist play $m_sq @CRLF) Endif endif $m_t = $m_ne = $m_f = $m_fn Else if number($m_r) 12 AND number($m_r) 1 Then if $m_ne = Then $m_amips = FileOpen($m_amip, 0) $m_n = FileReadLine($m_amip) FileClose($m_amip) $m_sq = StringReplace(StringReplace(StringReplace($m_n, \, /), , %20), $m_NASPath, ) TCPSend($m_tcp,$m_playerid playlist insert $m_sq @CRLF) $m_ne = 1 Endif Endif if Number($m_r) 2 Then $m_t = 0 Endif Endif EndIf Case $m_idle = 0 And $m_s = 2 If $m_p = ? Then $m_s = 1 TCPSend($m_tcp,$m_playerid pause 0 @CRLF) EndIf Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 1 $m_seek = 0 $m_ne = TCPSend($m_tcp,$m_playerid playlist clear @CRLF) TCPSend($m_tcp,$m_playerid playlist play StringReplace(StringReplace(StringReplace($m_fn, \, /), , %20), $m_naspath, ) @CRLF) TCPSend($m_tcp,$m_playerid pause 1 @CRLF) sleep(50) TCPSend($m_tcp,$m_playerid time $m_elt @CRLF) Sleep(50) TCPSend($m_tcp,$m_playerid pause 0 @CRLF) EndSelect Sleep(50) WEnd TCPSend($m_tcp,$m_playerid stop @CRLF playlist clear @CRLF) Sleep(1) Exit Of the issues mentioned in the last few pages here, this has gapless playback and has minimised the shutdown problem fizbin mentioned above. I believe it only happens now if you shut down the computer before the autoit script shuts down. Certainly I've not had it happen in quite a while. And therein lies a possible problem. It's quite a while since I looked at the script and a lot of it goes over my head right now (as I doubtless mentioned at some point above I'm not a programmer/coder/whatever). The reason is that I've not had any problems with it so I don't need to edit it. Another thing I should mention, in case it is confusing, is that, before putting it in this post, I've changed the four lines with stringreplace for \ to / back to the original lines from stuffedspacedog's nas script. Unfortunately on my version those parts like this: Code:
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
This question really has nothing to do with FooSQ, but I'm curious about something... I'm trying to make the interaction between FooSQ/Foobar and my SBT as fast as possible. The way I have my SBT connected to my PC is with a network crossover cable. IE: No router. The setup works fine with no issues, but I'm wondering if the network connection would be faster with standard network cables and a router? Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Just a warning for anyone who runs this. Make sure your FLAC/FLAC File Types setting is set to Native. (As opposed to Disabled). I have no clue why but if it's set to Disabled and you're using FooSQ AND you skip to another part of the track that's being played... POOF, you get a big blast of WHITE NOISE. This only happens when you skip. It might also only happen with 24/96 files, I did not test 16/44. Most people would not have this set to Disabled, but I just thought I'd warn you. This noise could kill your speakers and ears. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: Just a warning for anyone who runs this. Make sure your FLAC/FLAC File Types setting is set to Native. (As opposed to Disabled). I have no clue why but if it's set to Disabled and you're using FooSQ AND you skip to another part of the track that's being played... POOF, you get a big blast of WHITE NOISE. This only happens when you skip. It might also only happen with 24/96 files, I did not test 16/44. Most people would not have this set to Disabled, but I just thought I'd warn you. This noise could kill your speakers and ears. Set to Enabled and all is good. In general seek functionality ffwd may not work well when files are transcoded , for whatever reasons. Is it only with FooSQ did you try without it with the players own remote for instance ? Skip should work regarldess i think ? Some DAC have tendency to act up when shifting sample rate skipping from a 96k file to a 44.1 file ? Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Yes it's only with FooSQ. And no outboard DAC is being used. I can duplicate it every time, when switching to disabled. I had to troubleshoot it as much as possible because there's no way I'm going to catch a blast of that with the volume tuned up. I was lucky mine was way down low when it first happened. It could also be a combination of other settings/gear that set it in motion. Who knows. I do know the seek is a tad faster (or perhaps just more responsive) with Foobar than with the SBT's controls. Maybe it has to do with losing its lock on the stream. Perhaps, just for fun, I'll see if I can delay the seek time and then see if it will get a better lock. Anyway, I'm confident this will not happen with that setting to Enabled. If I thought for a second it would, I would immediately ditch FooSQ. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: Yes it's only with FooSQ. And no outboard DAC is being used. I can duplicate it every time, when switching to disabled. I had to troubleshoot it as much as possible because there's no way I'm going to catch a blast of that with the volume tuned up. I was lucky mine was way down low when it first happened. It could also be a combination of other settings/gear that set it in motion. Who knows. I do know the seek is a tad faster (or perhaps just more responsive) with Foobar than with the SBT's controls. Maybe it has to do with losing its lock on the stream. Perhaps, just for fun, I'll see if I can delay the seek time and then see if it will get a better lock. Anyway, I'm confident this will not happen with that setting to Enabled. If I thought for a second it would, I would immediately ditch FooSQ. Disabling flac is generarly not a good idea :) so good catch to enable it again thats the default setting for most LMS users/installations . Disabling it creates transcoding load on the server and almost doubles the network traffic to the player Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Yeah, I figured very few people would have that setup like that, but I had to mention it. Anyway, I hope to see a few fresh batch of newbies trying this script out soon. I'm curious on your thoughts. Very shortly I'll post an updated script that will get rid of the shut down bug. When Foobar is in STOP MODE and then is shut down, the SBT starts up again with the last played song. Oddly it works fine is the music is playing and you shut down. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: Yeah, I figured very few people would have that setup like that, but I had to mention it. Anyway, I hope to see a few fresh batch of newbies trying this script out soon. I'm curious on your thoughts. Very shortly I'll post an updated script that will get rid of the shut down bug. When Foobar is in STOP MODE and then is shut down, the SBT starts up again with the last played song. Oddly it works fine if the music is playing and you shut down. Somebody else has to answer that it was years since i used Foobar2000 . I'm pretty content with iPeng 8 as UI as I'm usually not near any computer when listening to music . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Can anyone recommend a free site to put up a single html instruction file? Then I can link it here. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: Can anyone recommend a free site to put up a single html instruction file? Then I can link it here. Dropbox *Location 1:* VortexBox 4TB (2.3) LMS 7.8 Transporter, Touch, Boom, Radio w/Battery (all ethernet except Radio) *Location 2:* VBA 3TB (2.3) LMS 7.8 Touch Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio) *Office:* Win7(64) LMS 7.8 Squeezelite *Spares:* several Touch, Radio, SB3 *Controllers:* iPhone4S iPad2 (iPeng7 Squeezepad), CONTROLLER, or SqueezePlay 7.8 on Win7(64) laptop *Files:* ripping: dbpoweramp FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I went to sign up to Dropbox and I already had an account. Anyway, here's the link: https://www.dropbox.com/s/yve548dr16fqszm/FooSQ%20Instructions.rar?dl=0 I'm using the code posted on page 8 of this thread. This particular code only works with Control UI set. (IE: If you're using a skin). I've made a few minor tweaks to it and I'll repost it later. Let me know if you aren't using Control UI and I'll repost that particular code as well. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: PS: I' have all new setup instructions and screen grabs if anyone is interested. Add me to the list of interested people! Which skin are you using? My current favorite is DarkOne v4.0. Carsten carp's Profile: http://forums.slimdevices.com/member.php?userid=3584 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
That's the skin I'm using as well. :) Anyway, I'll leave a link to the instructions later today or tomorrow. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
annoyingmouse wrote: Hi there. Thanks for the reply and the code. As it happens, I've managed to stop the gapless issue by getting rid of all references to $m_0gap (out of the 130 version, I think) which doesn't seem to have effected anything else. I wish annoyingmouse would return. This does not fix the gapless issue. He must have done something else as well. The key is the that there is a lag time when pressing play and the music starting. This is why there is a gap between tracks. If the music can be made to start right away, then the gapless issue will rectify itself. It might have to do with the network connection, I dunno. I did fix the seekbar. It was just a simple change of a digit. Now it seeks more precisely. $m_seekt = 8 Change the 8 to 1. But it's still has a lag between seeks...Stemming from the underlying issue. Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
My God, I got it to work. And I'm using the latest Foobar 1.3.4, and Squeezebox server/firmware 7.8. I'm using annoyingmouse's script on Page 8 Post 74. The reason the other scripts weren't working for me is because I was running Foobar 2000 using columns ui. (I mean there's no way I'm going to use the default skin...BORING!) I should have read more carefully that the original scripts weren't coded for that. This particular script only works with columns ui selected. Plus you have to... stuffedspacedog wrote: You need to open FB2K, go to preferences display columns ui. At the bottom you should see a window with //This is the default script for the title of the main window during playback. You need to change the text UNDERNEATH this comment to: %path%/%playback_time_remaining_seconds%/%ispaused%/%playback_time_seconds%/ As for the the line 54 error, that I mentioned above, this was from the older scripts that didn't have the CLASS entry. (Not sure why others here weren't getting that). Anyway, I'm not into iphones and such so it's really nice to sit at my PC and play tunes. (The touch screen got so 'old' for me). With a really nice skin for Foobar, this thing rocks! Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Does anyone have the setup instructions for this? This thread is sort of useless now without them. (They were never posted here) Thanks! Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I found the instructions here but it would appear this only works with older versions of Foobar. AMIP doesn't work on my latest version of Foobar. It just appears greyed out in the components list and is non functional. https://web.archive.org/web/20110505035757/http://www.at-sea.com/FooSQ.html Fizbin's Profile: http://forums.slimdevices.com/member.php?userid=58734 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
mll wrote: Thank you. If this disappears from archive.org too, here are the steps : Has anyone tried this recently. Will it work with LMS 7.8? adamdea's Profile: http://forums.slimdevices.com/member.php?userid=37603 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
annoyingmouse wrote: Probably far too late for the last two replies to this but an archived version of stuffedspacedog's instructions can be found at http://web.archive.org/web/20110505035757/http://www.at-sea.com/FooSQ.html for future reference. Thank you. If this disappears from archive.org too, here are the steps : Instructions for Using Foobar2000 to send music to your Logitech SqueezeBox or Transporter (Windows Only) With thanks to Marae for the original AutoIt script posted on HyrdogenAudio. 1. Download and install the latest Foobar2000 (it should work with versions higher than v0.9x) 2. Download and install AMIP for Foobar2000 : http://amip.tools-for.net/wiki/amip/download#amip 3. Download FooSQ from wherever you can find it Note: this is a unicode binary, so it only works in Windows XP, Vista and Windows 7. 4. Unzip the FooSQ.exe file and put it somewhere easy to access - you'll need to run this file after you run Foobar2000 in order to control your Logitech devices within Foobar2000. 5. Run Foobar2000, go to File Preferences Display Default User Interface Look for the box that says Window Title Delete whatever is there and replace it with this (exactly): %path%/%playback_time_remaining_seconds%/%ispaused%/%playback_time_seconds%/ Hit the Apply button. Do not hit OK yet. 6. In the same menu, go to Tools AMIP Wrapper Click on Configure AMIP On the right hand side check the box that says Write song info to file. In the box underneath that says File: enter this exactly: C:\nextsong.txt In the box underneath that says Play: enter this exactly: $next(%fn) Hit the OK button, hit OK again in AMIP Wrapper. 7. You're ready to go. Make sure SqueeezeBox server is running. Find where you put FooSQ.exe and run it. 8. Play music. The sound from FooSQ will be a second or so behind the playback on your computer, so you may want to turn off your computer speakers. 9. I've hardcoded a global volume control which will work provided FooSQ is running no matter what application is on your screen. Use the numeric keypad: + key to increase volume - key to decrease volume * key will mute playback (use + key to turn it back on) 10. Enjoy! If you lose the connection between Foobar2000 and FooSQ, just run FooSQ again and restart playback in Foobar2000. mll's Profile: http://forums.slimdevices.com/member.php?userid=13074 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I had another look through it and I seem to have solved it (I should stress seem to have) by adding a sleep(1) line before the exit at the end. Slower closing down the program but works just as well... for now that is... Strangely I looked back at the amended code I put up on the last page of this (about a year and half ago) and mine looks quite different now. It's now an amended combination of the nas and columnsui ones all done thanks to stuffedspacedog's brilliant originals! Since solving this I've looked back and discovered there was a sleep line on v137 and so I have maybe deleted the line at some point. annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Probably far too late for the last two replies to this but an archived version of stuffedspacedog's instructions can be found at http://web.archive.org/web/20110505035757/http://www.at-sea.com/FooSQ.html for future reference. The real reason I'm replying: I'm still using foobar to control my squeezebox and it still works fine for the most part but (admittedly, after much fiddling about with the code) I have a problem where the squeezebox starts playing the last played tune whenever I close foobar. This only happens if foobar is stopped and doesn't happen if I close whilst playing or paused. I don't suppose anyone know why this would be? Never come across it when using other remotes (e.g. Squeezecommander) so I presume it is to do with this code. annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
annoyingmouse wrote: Probably far too late for the last two replies to this but an archived version of stuffedspacedog's instructions can be found at http://web.archive.org/web/20110505035757/http://www.at-sea.com/FooSQ.html for future reference. The real reason I'm replying: I'm still using foobar to control my squeezebox and it still works fine for the most part but (admittedly, after much fiddling about with the code) I have a problem where the squeezebox starts playing the last played tune whenever I close foobar. This only happens if foobar is stopped and doesn't happen if I close whilst playing or paused. I don't suppose anyone know why this would be? Never come across it when using other remotes (e.g. Squeezecommander) so I presume it is to do with this code. Yeah I've noticed / have this problem too, but it really doesn't bother me much. I'm s in love with this plugin and just wanna say thank YOU stuffedspacedog again. Sure it would be nice / cool if someone who is more clever than me can look in to improve the code and get the thing to work better, but hey, that's life :-D))) doggod's Profile: http://forums.slimdevices.com/member.php?userid=46431 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
jdk wrote: Hi. Trying to get this script to work, but the how-to page the script author put together (http://www.at-sea.com/FooSQ.html) seems to have vanished, so I'm working blind and so far, no luck. I've installed AMIP, and the script launches Foobar, when I play a song, it gets written to nextsong.txt, so I'm close, but I'm not sure what to do next. If anyone has a copy of the installation instructions, I'd be grateful. I have multiple Squeezebox units, to guidance on choosing a player would also be appreciated. I'm using columnUI, and annoyingmouse's version of the script. Hi; same here. I get a popup that says $m_elt = ^ERROR. I guess the Foobar2K Windows name need to follow a pattern, but I can't know which one. If I find out the answer, I'll gladly repack the stuff with some redme and upload it here. mll's Profile: http://forums.slimdevices.com/member.php?userid=13074 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi. Trying to get this script to work, but the how-to page the script author put together (http://www.at-sea.com/FooSQ.html) seems to have vanished, so I'm working blind and so far, no luck. I've installed AMIP, and the script launches Foobar, but I'm not sure what to do next. If anyone has a copy of the installation instructions, I'd be grateful. jdk's Profile: http://forums.slimdevices.com/member.php?userid=9569 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi, I just wanna say thank YOU a thousand times, stuffedspacedog, for this fantastic plugin / script! Also wanna ask if there is anyone who has a clue if it would be possible to also get the volumecontrol to work from foobar? Was thinking, since the seekbar did`nt work at the start but later got solved to work maybe it`s also possible with the volumecontrol? I know / has read that stuffedspacedog is not working with this anymore, so anyone else? cheers, and once again, thank you stuffedspacedog doggod's Profile: http://forums.slimdevices.com/member.php?userid=46431 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;688288 Wrote: Like I said, I'm not supporting this any more. The .au3 file is an AutoIt script. In order to run it you need to install AutoIt and then either run the script or compile it into a .exe file. If that still doesn't work perhaps someone else will be able to help you. Actually you've just solved my problem for me thanks mate! -- davidro davidro's Profile: http://forums.slimdevices.com/member.php?userid=52545 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi I'm new to this and tried to follow the instructions. I managed to follow them but foobar through FooSQ wouldn't remote play LMS. I couldn't use the latest FooSQ because the file was au3. Is this why? If so how can I open it? Cheers. -- davidro davidro's Profile: http://forums.slimdevices.com/member.php?userid=52545 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
davidro;688062 Wrote: Hi I'm new to this and tried to follow the instructions. I managed to follow them but foobar through FooSQ wouldn't remote play LMS. I couldn't use the latest FooSQ because the file was au3. Is this why? If so how can I open it? Cheers. Like I said, I'm not supporting this any more. The .au3 file is an AutoIt script. In order to run it you need to install AutoIt and then either run the script or compile it into a .exe file. If that still doesn't work perhaps someone else will be able to help you. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hello! I'm not supporting this script any more for entirely selfish reasons (1. I downsized to a tiny flat and the transporter is in storage, 2. I got very little interest in the script). I'll share my last unpublished version of the script, although I don't think it addresses the gapless issues, for me it provided better stability but please judge for yourself. I think the gapless issue may be addressed by setting a shorter time to the looptimer (sleep(50) close to the bottom of the script. I had set it to a higher value earlier. Please note that this version of the script automatically loads FB2K. I hope that this can help in some way. +---+ |Filename: FooSQ - v137.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=12508| +---+ -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;658275 Wrote: Hello! I'm not supporting this script any more for entirely selfish reasons (1. I downsized to a tiny flat and the transporter is in storage, 2. I got very little interest in the script). I'll share my last unpublished version of the script, although I don't think it addresses the gapless issues, for me it provided better stability but please judge for yourself. I think the gapless issue may be addressed by setting a shorter time to the looptimer... sleep(50) close to the bottom of the script. I had set it to a higher value earlier. Please note that this version of the script automatically loads FB2K. I hope that this can help in some way. Hi there. Thanks for the reply and the code. As it happens, I've managed to stop the gapless issue by getting rid of all references to $m_0gap which doesn't seem to have effected anything else. -- annoyingmouse annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Ok so I was a bit too quick to say it was working completely because now I've found a little glitch and I'm back again wondering if anyone can help. It's a minor irritation but an irritation nonetheless. The script is playing music without issue but for some reason there's no gapless playback after the first played track. Strangely gapless seems to work fine for later tracks but whenever I select a new album or a new track (rather than continuing from one track to the next) it doesn't. For example, if I play track 1 of an album, there is a gap after track 1 going into track 2 but there is no gap between 2 and 3, 3 and 4, 4 and 5, etc. Similarly if I start on track 3 there is a gap between 3 and 4 but none between 4 and 5, 5 and 6, and so on. Does anybody know what might be causing this? -- annoyingmouse annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Ok I've worked out how to do this for columnsui now from the foosq - final file. Admittedly I've never used autoit before and it has been a lot of years since I last programmed but I thought I'd put my edited code here for anyone who is looking for it. If anyone can spot any problems in my code please, please tell me.Obviously I should add a thankyou to stuffedspacedog for the original code and everyone who helped in this thread well before I'd even considered getting a squeezebox. You've all just made my hifi a infinitely better! Code: $m_amip = e:\nextsong.txt $m_ip = 127.0.0.1 $m_port = 9090 $m_fooh = [CLASS:{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}] $m_fooexe = C:\Program Files (x86)\foobar2000\foobar2000.exe $m_f = $m_r = 0 $m_s = 0 $m_p = ? $m_t = $m_n = $m_ne = $m_fn = $m_sq = $m_title = $m_idle = 0 $m_ro = 0 $m_seek = 0 $m_elt = $m_seekt = 8 $m_0gap = 0 $m_0seek = 0 Run($m_fooexe, , @SW_MAXIMIZE) WinWait($m_fooh, , 20) TCPStartup() $m_tcp = TCPConnect($m_ip, $m_port) If @error Then MsgBox(48, FooSQ Warning, Squeezebox Server not responding.) Exit EndIf HotKeySet({NUMPADADD}, f_vol) HotKeySet({NUMPADSUB}, f_vol) HotKeySet({NUMPADMULT}, f_vol) While 1 If Not WinExists($m_fooh) Then TCPSend($m_tcp, stop @CRLF playlist clear @CRLF) Exit EndIf $m_title = WinGetTitle($m_fooh) If $m_title = 0 Then Sleep(300) $m_title = WinGetTitle($m_fooh) If $m_title = 0 Then Sleep(300) $m_title = WinGetTitle($m_fooh) EndIf EndIf If StringRegExp($m_title, foobar2000) Then $m_idle = 1 Else $m_idle = 0 EndIf If $m_idle = 0 And $m_title Then $a_tn = StringSplit($m_title, /) $m_fn = $a_tn[1] $m_r = $a_tn[2] $m_p = $a_tn[3] $m_elt = $a_tn[4] if number($m_seekt) 0 AND $m_0seek = 0 Then $m_seekv = number($m_r) - number($m_ro) if abs($m_seekv) $m_seekt AND $m_ro 0 AND $m_f = $m_fn Then $m_seek = 1 Endif Endif $m_ro = $m_r if $m_0seek 0 then $m_0seek = $m_0seek -1 endif Else $m_0gap = 1 $m_0seek = 50 EndIf Select Case $m_idle = 1 And $m_s 0 $m_s = 0 TCPSend($m_tcp, stop @CRLF playlist clear @CRLF) Case $m_idle = 0 And $m_s = 0 $m_s = 1 $m_f = $m_fn $m_sq = StringReplace(StringReplace($m_fn, \, /), , %20) TCPSend($m_tcp, playlist play $m_sq @CRLF) Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 0 if $m_p = 1 Then $m_s = 2 TCPSend($m_tcp,pause 1 @CRLF) Else if $m_f $m_fn Then if $m_t = 0 Then if $m_fn $m_n Then $m_sq = StringReplace(StringReplace($m_fn, \, /), , %20) TCPSend($m_tcp,playlist play $m_sq @CRLF) Endif endif $m_t = $m_ne = $m_f = $m_fn Else if number($m_r) 12 AND number($m_r) 1 AND $m_0gap = 0 Then if $m_ne = Then $m_amips = FileOpen($m_amip, 0) $m_n = FileReadLine($m_amip) FileClose($m_amip) $m_sq = StringReplace(StringReplace($m_n, \, /), , %20) TCPSend($m_tcp,playlist insert $m_sq @CRLF) $m_ne = 1 Endif Endif if Number($m_r) 2 Then $m_t = 0 $m_0gap = 0 Endif Endif EndIf Case $m_idle = 0 And $m_s = 2 If $m_p = ? Then $m_s = 1 TCPSend($m_tcp, pause 0 @CRLF) EndIf Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 1 $m_seek = 0 $m_ne = TCPSend($m_tcp,playlist clear @CRLF) TCPSend($m_tcp,playlist play StringReplace(StringReplace($m_fn, \, /), , %20) @CRLF) TCPSend($m_tcp,pause 1 @CRLF) sleep(50) TCPSend($m_tcp, time $m_elt @CRLF) Sleep(50) TCPSend($m_tcp,pause 0 @CRLF) EndSelect Sleep(50) WEnd Func f_vol() Select Case StringInStr(@HotKeyPressed, {NUMPADADD}) TCPSend($m_tcp, mixer volume +5 @CRLF) Case StringInStr(@HotKeyPressed, {NUMPADSUB}) TCPSend($m_tcp, mixer volume -5 @CRLF) Case StringInStr(@HotKeyPressed, {NUMPADMULT}) TCPSend($m_tcp, mixer volume 0 @CRLF) EndSelect EndFunc I should note straight away that I changed the path for my foobar install and amip output in order to overcome problems I was having so if you want to use it you probably should revert to whatever you prefer. I think the only other changes I've made were columnsui related, which were the classid and and the foobar title when no program is playing. -- annoyingmouse annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Just bought a Squeezebox and I am interested in using the version of foosq this with support for columns ui. Does anyone have a copy of it I could download? Alternatively does anybody know if there is another way of using foobar to control my squeezebox. Despite all the tags in my music being fine when using foobar I don't like the way they are used by squeezebox server control. I'm also not particularly happy about the fact that when I add music I have to completely refresh the database (which seems to take about 20 minutes) to do something that is instant in foobar. Would this still be an issue with the foosq available here? (i.e. Would it still be using the squeezebox server library?) Thanks in advance for any help -- annoyingmouse annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
annoyingmouse;657483 Wrote: Just bought a Squeezebox and I am interested in using the version of foosq this with support for columns ui. Does anyone have a copy of it I could download? Alternatively does anybody know if there is another way of using foobar to control my squeezebox. Despite all the tags in my music being fine when using foobar I don't like the way they are used by squeezebox server control. I'm also not particularly happy about the fact that when I add music I have to completely refresh the database (which seems to take about 20 minutes) to do something that is instant in foobar. Would this still be an issue with the foosq available here? (i.e. Would it still be using the squeezebox server library?) Thanks in advance for any help You don't need to wait to play new music... Just use the Browse Music Folder option... -- Phil Leigh You want to see the signal path BEFORE it gets onto a CD/vinyl...it ain't what you'd call minimal... Touch(wired/XP) - Audiolense 3.3/2.0+INGUZ DRC - MF M1 DAC - Linn 5103 - full Aktiv 5.1 system (6x LK140's, ESPEK/TRIKAN/KATAN/SEIZMIK 10.5), Pekin Tuner, Townsend Supertweeters, Blue Jeans Belden Digital,Kimber 8TC Speaker Chord Signature Plus Interconnect cables Stax4070+SRM7/II phones Kitchen Boom, Outdoors: SB Radio, Harmony One remote for everything. Phil Leigh's Profile: http://forums.slimdevices.com/member.php?userid=85 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Phil Leigh;657486 Wrote: You don't need to wait to play new music... Just use the Browse Music Folder option... Thank you! For some reason I thought that would be the folders at the time of last scan. I never thought to check that bit. Lesson learned! -- annoyingmouse annoyingmouse's Profile: http://forums.slimdevices.com/member.php?userid=49704 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Im looking for help with using FooSQ to control Squeezeboxes on a Vortexbox v1.9 setup (Fedora r14). I have Foobar2000 + FooSQ on a laptop (XP) and if I associate it with Squeezebox Server running on my old server running XP, it works perfectly, controlling the output of my Squeezebox 3. In fact it works just fine with the Foobar2000 library pointing to the flac files on the Vortexbox (which intrigues me) but when I associate it with the SBS (same version, 7.5.5) on the Vortexbox, it does not play. It will stop the output of a playing Squeezebox, but does not play the newly selected (by Foobar) track. Im pretty duff on Linux, so any suggestions gratefully received. Also, many thanks to stuffedspacedog and the others that have enables this excellent gadget. -- Skye Skye's Profile: http://forums.slimdevices.com/member.php?userid=11214 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi stuffedspacedog, great program you have written! Thank you so much for your work! I'm having one small problem with the program. All of my files work well with foosq, except for ones with unicode characters in their paths, which cannot be sent to my Squeezebox Touch. The SB web interface can send those files perfectly fine though. Any idea how to solve this problem? I'm using Win7 x64, foobar2000 v1.1.7 beta 6, amip 2.67 and the fooSQ.zip on page 6. Thank you once again for your fantastic program! -- Ice Cube Ice Cube's Profile: http://forums.slimdevices.com/member.php?userid=47084 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;632941 Wrote: Hi, it seems you're the only reply! I can't really spend more time on this as there is such little interest alas. I offered to do this as I had a little time when I originally posted... unfortunately my Transporter will be going into storage on 1st June so I'll have nothing to test the script on. Hi, i'm sorry for that. You have to ask again because some people would be interested but are not always on the forum. If i could help you tell me. Thank's again for you work. Regards. Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi, it seems you're the only reply! I can't really spend more time on this as there is such little interest alas. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;632247 Wrote: Please add to this list and I'll try and produce a single, customisable version. Right now I have produced customised versions for each of the 4 requests ] Hi Stuffedspacedog, i'm really interested in your single customisable version (Nas, password protection, columns UI, multi-player). Thank's for you great work. Regards Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hello peoples, I've carried on with development work on my side but haven't posted the results. Right now I have a quite sexy (i.e. functional) version which has been tested on my computer only. I am happy to do some broader development work, but please tell me what you need. Requests so far have been: 1. SqueezeCenter requires a password. 2. I have multiple players, I want to be able to select them individually. 3. My music library is on NAS. Please add to this list and I'll try and produce a single, customisable version. Right now I have produced customised versions for each of the 3 requests. All the best, Alan Morse Davies www.at-sea.com -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;619551 Wrote: .. I've made you a special version ... Please note that this version is an edit of the one I currently use so doesn't have the bells and whistles of using an .ini file, ability to select different players, allowance for running SBS on another machine etc. You need to make sure SBS is running and FB2K is loaded before running the FooSQ exe file. Hello Alan, I'm still very happy using your script. However i've two questions: 1) I'm interested using FooSQ with Columns UI in my ReadyNas environment (See special version with NasPath you've made for me 3/7). Could you please send me AutoIT source code for the 2 versions (FooSQNAS and FooSQColumnsUI) so i will try to merge them ? 2) I'm using your script on Win 7 Pro and it seems Amip is not writing the next song info to c:\nextsong. No errors but no gapless play and no data in c:\nextsong. I suspect some permission or admin rights issue with Win 7 ? Anybody else using Win 7 Pro and with correct data writing to nextsong.txt ? Regards Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
volpone;621447 Wrote: Hello Alan, I'm still very happy using your script. However i've two questions: 1) I'm interested using FooSQ with Columns UI in my ReadyNas environment (See special version with NasPath you've made for me 3/7). Could you please send me AutoIT source code for the 2 versions (FooSQNAS and FooSQColumnsUI) so i will try to merge them ? 2) I'm using your script on Win 7 Pro and it seems Amip is not writing the next song info to c:\nextsong. No errors but no gapless play and no data in c:\nextsong. I suspect some permission or admin rights issue with Win 7 ? Anybody else using Win 7 Pro and with correct data writing to nextsong.txt ? Regards Volpone I'm using Win7 Ultimate, no problem. Scripts are attached. Also my current version (v130). +---+ |Filename: FooSQ_Mar11.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11599| +---+ -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;621460 Wrote: I'm using Win7 Ultimate, no problem. Scripts are attached. Also my current version (v130). Maybe you're using the wrong version of AMIP? Thank you Alan. I'm using: - Amip wrapper for foobar 2000 v1.0 (1.01) - Mirc integration plugin v2.67 (amip.dll) Regards Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
volpone;621483 Wrote: Thank you Alan. I'm using: - Amip wrapper for foobar 2000 v1.0 (1.01) - Mirc integration plugin v2.67 (amip.dll) Regards Volpone Mmm... same as me, not sure where the problem lies. You have the checkbox write song information to file checked in AMIP configuration right? Sorry I can't think of anything else. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;619551 Wrote: Hi, I just spent some time looking into this... the Columns UI uses a completely different Windows CLASSID so my script can't find it, it also uses a different title when it's idle (just foobar2000 instead of foobar2000 v1.1.5... I've made you a special version, tested it, and it works fine on my machine. You need to open FB2K, go to preferences display columns ui. At the bottom you should see a window with //This is the default script for the title of the main window during playback. You need to change the text UNDERNEATH this comment to: %path%/%playback_time_remaining_seconds%/%ispaused%/%playback_time_seconds%/ Then run the new FooSQ version in this zip file: http://www.at-sea.com/work/FooSQ_ColumnsUI.zip Please note that this version is an edit of the one I currently use so doesn't have the bells and whistles of using an .ini file, ability to select different players, allowance for running SBS on another machine etc. You need to make sure SBS is running and FB2K is loaded before running the FooSQ exe file. Let me know how you get on. Alan G'day Alan, just checked back to this thread and wow, didn't expect you to have done that for me, thank you x 100! Just got it running now, works fine. No problems at all so far. Will update if I run into anything. Thanks once again! -- gsrex gsrex's Profile: http://forums.slimdevices.com/member.php?userid=45034 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
G'day stuffedspacedog, thank you for your work, it's a great program I've only just found out about it today after wanting something similar for my sb3 for a long time now. The plugin is working fine when I use the foobar2000 default user interface, but when I switch to columns_ui and try to start foosq.exe, nothing happens. I'm using Win7, foobar2000 1.1.2 and the latest version of your plugin from your site. If you need any other info sorry I'll post it up asap. Any idea of what the problem could be? Knowing me it's something simple I'm overlooking lol. -- gsrex gsrex's Profile: http://forums.slimdevices.com/member.php?userid=45034 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
gsrex;619532 Wrote: G'day stuffedspacedog, thank you for your work, it's a great program I've only just found out about it today after wanting something similar for my sb3 for a long time now. The plugin is working fine when I use the foobar2000 default user interface, but when I switch to columns_ui and try to start foosq.exe, nothing happens. I'm using Win7, foobar2000 1.1.2 and the latest version of your plugin from your site. If you need any other info sorry I'll post it up asap. Any idea of what the problem could be? Knowing me it's something simple I'm overlooking lol. Hi, I just spent some time looking into this... the Columns UI uses a completely different Windows CLASSID so my script can't find it, it also uses a different title when it's idle (just foobar2000 instead of foobar2000 v1.1.5... I've made you a special version, tested it, and it works fine on my machine. You need to open FB2K, go to preferences display columns ui. At the bottom you should see a window with //This is the default script for the title of the main window during playback. You need to change the text UNDERNEATH this comment to: %path%/%playback_time_remaining_seconds%/%ispaused%/%playback_time_seconds%/ Then run the new FooSQ version in this zip file: http://www.at-sea.com/work/FooSQ_ColumnsUI.zip Let me know how you get on. Alan -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;616017 Wrote: Let me know if this works for you. Best, Alan Alan it works as intended with my SBS on ReadyNas. Again thank's a lot. Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
volpone;616284 Wrote: Alan it works as intended with my SBS on ReadyNas. Again thank's a lot. Volpone Great news, you're welcome. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Given the interest in using FooSQ in a variety of different set-ups, I'm going to make a version that is fully configurable through the editing of a simple text file. These are the parameters I have now: [parameters] SqueezeBoxServerIP=127.0.0.1 SqueezeBoxServerCLIPort=9090 Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt If you want other options like password security, selecting playerID etc just let me know. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;615794 Wrote: Given the interest in using FooSQ in a variety of different set-ups, I'm going to make a version that is fully configurable through the editing of a simple text file. These are the parameters I have now: [parameters] SqueezeBoxServerIP=127.0.0.1 SqueezeBoxServerCLIPort=9090 Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt If you want other options like password security, selecting playerID etc just let me know. You are so kind to help me ! My FOOSQIP link is as you wrote, with the right server IP. It launches Foobar. So then ? And what about the FooID shortcut ? -- fakarava2 Transporter, SB3, Duet, Radio, WiFi fed by Vortexbox 2TB To nobody, except those who will take pleasure here (Franz Schubert, 01/31/1797 - 11/19/1828) fakarava2's Profile: http://forums.slimdevices.com/member.php?userid=16310 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
You use the shortcut to launch Foobar, if there is no error message it has successfully connected to the SqueezeBox Server. Start playing some music, see what happens. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
If your Vortexbox has an IP address which is configured by DHCP then it's possible that it may change over time. I'd advise you to set a fixed IP address in your Vortexbox otherwise my script has no idea which machine to connect to. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hola! Here's the updated fully configurable version. There are some under the hood changes for greater stability. This version now loads FB2K from within the script. Unzip the file and place both FooSQ.exe and FooSQ.ini in your Foobar2000 directory. FooSQ is now fully configurable with a text .ini file, the parameters are here: [parameters] SqueezeBoxServerIP=127.0.0.1 SqueezeBoxServerCLIPort=9090 SqueezeBoxPlayerID=00:04:20:10:0f:d2 Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt You can edit this text file in Windows Notepad. Please note you WILL need to change SqueezeBoxPlayerID to the MAC address of the player you want to stream music to. You can find this in the SqueezeBox web interface under settings player settings, it's at the bottom of the screen. Once you have edited the .ini file, just run FooSQ.exe. Make sure you followed the instructions at www.at-sea.com/FooSQ.html first. Enjoy! Alan -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Thank's a lot for your work Alan ! Could you please post the source script ? As stated in this thread in my preceding post(October/3/2010): I'm using it on Windows but with a SBS and music library located on a NAS device (ReadyNas Pro). In this configuration there is a difference beetween the song path as seen by the script and the path used by the SBS: = Script on Windows: //Readynas/mylibrary/directory/mysong = SBS on my NAS: directory/mysong I've made a quick and dirty adaptation to your script to remove the extra path information (//Readynas/mylibrary/ in my example) from the command sent via CLI. It will be very usefull for guys using SBS on a Nas to set the path parameters in the ini files and let the script troncate the CLI command path as needed, for example: [parameters] . Foobarpath: //Readynas/mylibrary (music library path as seen from Foobar on Window) SBSpath: /mylibray (music library path as seen from SBS on the NAS) Let me know if you understand the needs for this adaption ? Regards Volpone -- volpone STREAM = SqueezeBoxServer 7.5.2 / ReadyNas Pro (x86) | SB3 - Duet - Boom - Ipeng (Iphone) - Touch AUDIO = Rega DAC | NAD C162 pre-amp | NAD C272 power-amp | Triangle Celius 202 speakers volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;615811 Wrote: Hola! Here's the updated fully configurable version. There are some under the hood changes for greater stability. This version now loads FB2K from within the script. Unzip the file and place both FooSQ.exe and FooSQ.ini in your Foobar2000 directory. FooSQ is now fully configurable with a text .ini file, the parameters are here: [parameters] SqueezeBoxServerIP=127.0.0.1 Note that this is the IP address for the SqueezeBox Server, NOT the IP address of the player. SqueezeBoxServerCLIPort=9090 SqueezeBoxPlayerID=00:04:20:10:0f:d2 Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt You can edit this text file in Windows Notepad. Please note you WILL need to change SqueezeBoxPlayerID to the MAC address of the player you want to stream music to. You can find this in the SqueezeBox web interface under settings player settings, it's at the bottom of the screen. Once you have edited the .ini file, just run FooSQ.exe. Make sure you followed the instructions at www.at-sea.com/FooSQ.html first. If you want to stream to more than one player, just create seperate sub-directories named after each room: Bedroom, Hallway etc., each with a copy of FooSQ.exe and FooSQ.ini, then edit the .ini files in each one to include the MAC address of the respective players. Enjoy! Alan Etat du Squeezebox Server Version : 7.5.3 - r31815 @ Fri Jan 28 10:03:43 EST 2011 Nom d'hôte : vortexbox.localdomain Adresse IP serveur : 192.168.1.168 Port HTTP serveur : 9000 Système d'exploitation : Red Hat - FR - utf8 Architecture de la plate-forme : i686-linux Version de Perl : 5.12.3 - i386-linux-thread-multi Version de MySQL : 5.1.55 Squeezebox Modèle platine : Squeezebox Classic Micrologiciel : 132 Adresse IP platine : 192.168.1.144 Adresse MAC platine : 00:04:20:12:27:6a Puissance signal sans fil : 87% [parameters] SqueezeBoxServerIP=192.168.1.168 SqueezeBoxServerCLIPort=9000 SqueezeBoxPlayerID=00:04:20:12:27:6a Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt FooSQ opens Foobar No sound from the SB... -- fakarava2 Transporter, SB3, Duet, Radio, WiFi fed by Vortexbox 2TB To nobody, except those who will take pleasure here (Franz Schubert, 01/31/1797 - 11/19/1828) fakarava2's Profile: http://forums.slimdevices.com/member.php?userid=16310 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
fakarava2;615872 Wrote: Etat du Squeezebox Server Version : 7.5.3 - r31815 @ Fri Jan 28 10:03:43 EST 2011 Nom d'hôte : vortexbox.localdomain Adresse IP serveur : 192.168.1.168 Port HTTP serveur : 9000 Système d'exploitation : Red Hat - FR - utf8 Architecture de la plate-forme : i686-linux Version de Perl : 5.12.3 - i386-linux-thread-multi Version de MySQL : 5.1.55 Squeezebox Modèle platine : Squeezebox Classic Micrologiciel : 132 Adresse IP platine : 192.168.1.144 Adresse MAC platine : 00:04:20:12:27:6a Puissance signal sans fil : 87% [parameters] SqueezeBoxServerIP=192.168.1.168 SqueezeBoxServerCLIPort=9000 SqueezeBoxPlayerID=00:04:20:12:27:6a Foobar2000Location=C:\Program Files\foobar2000\foobar2000.exe AMIPFile=C:\nextsong.txt FooSQ opens Foobar No sound from the SB... Hello, the SqueezeBoxServerCLIPort is wrong. You have put in 9000, which is the web interface, not the CLI. Change 9000 to 9090 and try again. You can check the correct port number by opening the SqueezeBox web interface settings plugins CLI interface. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Here's the updated version, there's a small bugfix to prevent the song playing again after FB2K has closed. Also the AutoIt script is in script.zip. +---+ |Filename: Script.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11468| +---+ -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
The AutoIt script is here: $m_ip = IniRead(FooSQ.ini,parameters,SqueezeBoxServerIP,) $m_port = IniRead(FooSQ.ini,parameters,SqueezeBoxServerCLIPort,) $m_playerid = IniRead(FooSQ.ini,parameters,SqueezeBoxPlayerID,) $m_fooexe = IniRead(FooSQ.ini,parameters,Foobar2000Location,) $m_amip = IniRead(FooSQ.ini,parameters,AMIPFile,) $m_fooh = [CLASS:{97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}] $m_f = $m_r = 0 $m_s = 0 $m_p = ? $m_t = $m_n = $m_ne = $m_fn = $m_sq = $m_title = $m_idle = 0 $m_ro = 0 $m_seek = 0 $m_elt = $m_seekt = 8 $m_0gap = 0 $m_0seek = 0 Run($m_fooexe, , @SW_MAXIMIZE) WinWait($m_fooh, , 30) $m_fooha = WinGetHandle($m_fooh) TCPStartup() $m_tcp = TCPConnect($m_ip, $m_port) If @error Then MsgBox(48, FooSQ Warning, Squeezebox Server not responding.) Exit EndIf HotKeySet({NUMPADADD}, f_vol) HotKeySet({NUMPADSUB}, f_vol) HotKeySet({NUMPADMULT}, f_vol) While 1 If Not WinExists($m_fooha) Then sleep(300) TCPSend($m_tcp,$m_playerid stop @CRLF $m_playerid playlist clear @CRLF) Exit EndIf $m_title = WinGetTitle($m_fooha) If StringRegExp($m_title, ^ foobar2000 .*[0-9]$) Then $m_idle = 1 Else $m_idle = 0 EndIf If $m_idle = 0 And $m_title Then $a_tn = StringSplit($m_title, /) $m_fn = $a_tn[1] $m_r = $a_tn[2] $m_p = $a_tn[3] $m_elt = $a_tn[4] if number($m_seekt) 0 AND $m_0seek = 0 Then $m_seekv = number($m_r) - number($m_ro) if abs($m_seekv) $m_seekt AND $m_ro 0 AND $m_f = $m_fn Then $m_seek = 1 Endif Endif $m_ro = $m_r if $m_0seek 0 then $m_0seek = $m_0seek -1 endif Else $m_0gap = 1 $m_0seek = 50 EndIf Select Case $m_idle = 1 And $m_s 0 $m_s = 0 TCPSend($m_tcp,$m_playerid stop @CRLF $m_playerid playlist clear @CRLF) Case $m_idle = 0 And $m_s = 0 $m_s = 1 $m_f = $m_fn $m_sq = StringReplace(StringReplace($m_fn, \, /), , %20) TCPSend($m_tcp,$m_playerid playlist play $m_sq @CRLF) Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 0 if $m_p = 1 Then $m_s = 2 TCPSend($m_tcp,$m_playerid pause 1 @CRLF) Else if $m_f $m_fn Then if $m_t = 0 Then if $m_fn $m_n Then $m_sq = StringReplace(StringReplace($m_fn, \, /), , %20) TCPSend($m_tcp,$m_playerid playlist play $m_sq @CRLF) Endif endif $m_t = $m_ne = $m_f = $m_fn Else if number($m_r) 12 AND number($m_r) 1 AND $m_0gap = 0 Then if $m_ne = Then $m_amips = FileOpen($m_amip, 0) $m_n = FileReadLine($m_amip) FileClose($m_amip) $m_sq = StringReplace(StringReplace($m_n, \, /), , %20) TCPSend($m_tcp,$m_playerid playlist insert $m_sq @CRLF) $m_ne = 1 Endif Endif if Number($m_r) 2 Then $m_t = 0 $m_0gap = 0 Endif Endif EndIf Case $m_idle = 0 And $m_s = 2 If $m_p = ? Then $m_s = 1 TCPSend($m_tcp,$m_playerid pause 0 @CRLF) EndIf Case $m_idle = 0 AND $m_s = 1 AND $m_seek = 1 $m_seek = 0 $m_ne = TCPSend($m_tcp,$m_playerid playlist clear @CRLF) TCPSend($m_tcp,$m_playerid playlist play StringReplace(StringReplace($m_fn, \, /), , %20) @CRLF) TCPSend($m_tcp,$m_playerid pause 1 @CRLF) sleep(50) TCPSend($m_tcp,$m_playerid time $m_elt @CRLF) Sleep(50) TCPSend($m_tcp,$m_playerid pause 0 @CRLF) EndSelect Sleep(50) WEnd Func f_vol() Select Case StringInStr(@HotKeyPressed, {NUMPADADD}) TCPSend($m_tcp,$m_playerid mixer volume +5 @CRLF) Case StringInStr(@HotKeyPressed, {NUMPADSUB}) TCPSend($m_tcp,$m_playerid mixer volume -5 @CRLF) Case StringInStr(@HotKeyPressed, {NUMPADMULT}) TCPSend($m_tcp,$m_playerid mixer volume 0 @CRLF) EndSelect EndFunc -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
volpone;615838 Wrote: Thank's a lot for your work Alan ! Could you please post the source script ? As stated in this thread in my preceding post(October/3/2010): It will be very usefull for guys using SBS on a Nas to set the path parameters in the ini files and let the script troncate the CLI command path as needed, for example: [parameters] . Foobarpath: //Readynas/mylibrary (music library path as seen from Foobar on Window) SBSpath: /mylibray (music library path as seen from SBS on the NAS) Let me know if you understand the needs for this adaption ? Regards Volpone Hello, so basically you want to strip //Readynas from the CLI commands? I think I could just add one parameter NASPath and then use an additional stringreplace on $m_sq immediately before each TCPSend (with playlist play or insert). $m_sq = StringReplace($m_sq, $m_NASPath, ) If the NASPath parameter is blank, then stringreplace will not make any changes. Can you send me your script so I can see exactly what you've done before making these changes? -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Very tempting. My sb server is on another computer (vortexbox) on the local network, so I have the message : SB server not responding. How to make FooSQ aware that it is running ? -- fakarava2 Transporter, SB3, Duet, Radio, WiFi fed by Vortexbox 2TB To nobody, except those who will take pleasure here (Franz Schubert, 01/31/1797 - 11/19/1828) fakarava2's Profile: http://forums.slimdevices.com/member.php?userid=16310 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
I suggest changing the IP address at the top of the AutoIt script (you can do this in Windows Notepad). If you install AutoIt you can test the script out by doubleclicking the script, then compile it if it works. Change 127.0.0.1 to whatever the ip address is of your vortexbox. Let me know how you can get on. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
My final script is here, with a few modifications. This version also loads Foobar2000 automatically. Change the 2nd line to the IP address of your Vortexbox, check that Squeezebox CLI is on port 9090, if not change the 3rd line to the right port. +---+ |Filename: FooSQ - Final.zip| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11463| +---+ -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;615586 Wrote: I suggest changing the IP address at the top of the AutoIt script (you can do this in Windows Notepad). If you install AutoIt you can test the script out by doubleclicking the script, then compile it if it works. Change 127.0.0.1 to whatever the ip address is of your vortexbox. Let me know how you can get on. Sorry, I don't find any AutoIt script and I am really confused with all that stuff. I'm completely lost... -- fakarava2 Transporter, SB3, Duet, Radio, WiFi fed by Vortexbox 2TB To nobody, except those who will take pleasure here (Franz Schubert, 01/31/1797 - 11/19/1828) fakarava2's Profile: http://forums.slimdevices.com/member.php?userid=16310 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
OK, do you now the IP address of your Vortexbox? If you don't know how to find that out there's not much help I can give you. If you can find out, I can make another FooSQ version where you can put the IP address into a Windows shortcut. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
OK, here you go. Download the zip file. Unzip the files to your FB2K directory which should be c:\program files\foobar2000. Right click on the file that says FooSQIP.exe - Shortcut and select properties. In the Target field you will see an IP address of 127.0.0.1 - change that to the IP address of your vortexbox, make sure that the IP address has quote marks on both sides, e.g. 192.168.0.1. Good luck! +---+ |Filename: FooSQIP.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=11464| +---+ -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi all, I have updated both FooSQ and FooID. I have changed the function by which the script recognises whether FB2K is still running, this should fix the following occasional bugs: 1. Playback continues after FB2K has exited. 2. After stopping playback in FB2K and exiting FB2K, playback for the current track restarts at the beginning. For the geeks, I'm now using the WinExists function instead of checking whether WinGetTitle returns 0. Both zip files on my site are now updated to reflect these changes. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Bump! Anyone using this with multiple players using the method above? -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Thanks ! (hope you win 1 million on loto)... -- zlaja5 zlaja5's Profile: http://forums.slimdevices.com/member.php?userid=41410 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Bump... any joy with this? -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Anyone using this script with the PlayerID? -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hello, here's the script recompiled to allow you to select different players. http://www.at-sea.com/work/FooID.zip Please follow the installation instructions at http://www.at-sea.com/FooSQ.html Once you have done that: 1. Locate the FooID.exe file on your computer 2. Right click on it, select create shortcut 3. Right click on the shortcut, select properties 4. In the target field add the playerID of your logitech device to the end of the field in this format: C:\Program Files\foobar2000\FooID.exe 00:04:20:10:0f:d2 (a space after the then the mac address of your player) Create different shortcuts for different players. You can find your PlayerID by loading SqueezeBox server settings player The PlayerID will be at the bottom. The AutoIt script is here: http://www.at-sea.com/work/FooID.au3 -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Hi, yes I did make a version of this where the PlayerID can be passed as a command line parameter - it worked fine. Give me a few days and I'll merge the code from that into the latest stable version I have. I'll post the source also. Alan -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;581836 Wrote: Hi, yes I did make a version of this where the PlayerID can be passed as a command line parameter - it worked fine. Give me a few days and I'll merge the code from that into the latest stable version I have. I'll post the source also. You create separate windows shortcuts to each player. (With the PlayerID in the target field of the shortcut). Alan Seems perfect, Thank you Alan ! -- volpone SB3 - Duet - Boom - Ipeng (Iphone) - Touch | Squeezecenter 7.5.1 | ReadyNas Pro (x86) volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
stuffedspacedog;555979 Wrote: Does anyone have any success to report yet? Thank's a lot Stuffedspacedog, i managed to use the script and it's working. Very good job ! I'm using it on Windows but with a SBS and music library located on a NAS device (ReadyNas Pro). In this configuration there is a difference beetween the song path as seen by the script and the path used by the SBS: = Script on Windows: //Readynas/mylibrary/directory/mysong = SBS on my NAS: directory/mysong So i've just made a quick and dirty adaptation to the script to remove the extra path information (//Readynas/mylibrary/ in my example) from the command sent via CLI. I'm using four players and, as others on this thread, i would be interested in a mechanism to select the player. So i agree with your proposal about adding PlayerID parameter to the command. Thank's again for the time spent on this project. Here is a good link about CLI reference commands: http://danielbond.net/rcli/index.html Regards Volpone NB: Is it possible for you to publish the AutoIt script source ? Until now i'm using the Marea version because your version is only executable and i don't know if there is differences ? -- volpone SB3 - Duet - Boom - Ipeng (Iphone) - Touch | Squeezecenter 7.5.1 | ReadyNas Pro (x86) volpone's Profile: http://forums.slimdevices.com/member.php?userid=16531 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Man, you have no idea how grateful I am for this little program. I was looking for it for years. It works, and it works nicely. Few comments: 1. in order to avoid the double playback from PC speakers, there is a simple way to disable it in foobar: File--Preferences--Playback---Output and chose Null Output. 2. I think it's important to be able to chose the player. I have 2 players (second one is located in a different room), and guess what - the program by default only controls the second player. So I had to physically turn it off, and restart the squeezeserver. Then it works for the right player. But obviously that's not the best workaround . Can you please modify the script so it accepts player id as parameter, and provide instructions how to identify player id and pass it as a parameter in a shortcut. (Or other option maybe to use some kind of ini.txt file to specify playerid there). Anyway all that is minor stuff, the point is that controlling squeezebox using foobar can be done, and it can be done without affecting sound quality!! So Thank you, thank you , thank you once again! --- P.S. I also hope that some professional developers will be interested in your code, and sooner or later the official squeezebox plugin will appear) -- schahmatist schahmatist's Profile: http://forums.slimdevices.com/member.php?userid=19942 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Wonderfull, best of both worlds! Thanks a lot for this. -- Swannea Swannea's Profile: http://forums.slimdevices.com/member.php?userid=977 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Updated to v0.78 for greater stability. -- stuffedspacedog stuffedspacedog's Profile: http://forums.slimdevices.com/member.php?userid=38655 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
cool -- mshane mshane's Profile: http://forums.slimdevices.com/member.php?userid=40271 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss