Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
danco;214041 Wrote: One additional request, if it's not too difficult. A much earlier version of the script had an option to execute a script immediately. This is useful from time to time (I used it to turn off my server using the SB remote control). So if you could have an Execute Immediately option, in which one chose a script and triggered it by pressing Right or Play, that would be great. But I can see that putting in new features may be more than you want to do. An addendum to this. Of course, pressing Play during script selection for any option does run the script immediately. But, as far as I can see, it ALSO changes the script that is set for that option, so it is inconvenient when one wants to run a script as a one-off. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31035 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
kdf;214044 Wrote: Quoting danco danco.2tmhnn1184268301 (AT) no-mx (DOT) forums.slimdevices.com: Execute: Play Stopped Execute: using server pref (and then Executing unjiggle, which is the script I have chosen on the server for Stop). yes, it's a log. Please feel free to explain what you think is wrong. Are you expecting a player pref script to run instead? Yes, on the player I have the script test set to execute on stop, while in the web interface I have chosen unjiggle. So, at least when stopping from the remote (though possibly not on stop being reached at the end of a file) I would have expected test to run. Again, not a huge issue if one knows this is going to happen, though I would still like to know when the player choice gets executed. The other options (Open, On, Off) are following the choices set on the player, so why not Stop? press play on any of the option lists when you are looking at a script name and it will trigger immediately. If that's not the setting you want to keep, change it back before you exit. Yes, I guess that should be good enough. It will need a change to my script, which sends the computer to sleep, so I might not be able to change back. but all I need is to set a wait time before sleep occurs. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31035 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
kdf;213776 Wrote: The web is a SERVER setting, the player is a PLAYER setting. player does not show web setting, web does not show player setting (because I can't be bothered to write a whole new player setting section for a plugin I don't use and when it would have to be totally rewritten for SSv7 anyway). I hope you will be writing (or have already written) this plugin for SSv7. Some of us do find it really useful. See plugin-Exectute-* in slimserver.pref for server prefs, and the script array pref under the clients for the player settings. OK, I have found the slimserver.pref and can see the settings. When you say script array pref do you mean part of slimserver.pref? If you do, what is shown is script: - unjiggle - unjiggle - unjiggle - unjiggle - sleeper while the server settings show plugin-Execute-open: jiggle plugin-Execute-play: jiggle plugin-Execute-power_off: (none) plugin-Execute-power_on: (none) plugin-Execute-stop: unjiggle. And the log shows 2007-07-11 21:09:39.1772 Execute: File Open 2007-07-11 21:09:39.1798 Execute: Executing jiggle 2007-07-11 21:09:50.7648 Execute: Play Stopped 2007-07-11 21:09:50.7669 Execute: Executing unjiggle 2007-07-11 21:09:53.6222 Execute: Power Off 2007-07-11 21:09:53.6239 Execute: No Script Selected player setting first, server setting as a fallback when no valid player setting is found. Yes, it a hard UI to get used to, but as stated on the download site, it is as it is. Expect an updated download for the string correction tonight. cheers, kdf It's not so much that it is hard to get used to, as that the instructions don't give enough information. I seem to remember that the older versions had more detailed instructions (which I did find difficult, but resolved ultimately). All that is said is This plugin can execute scripts or programs from the SlimServer. Edit the module to locate your scripts, choose the script for each event. Thus far, the plugin supports Open, Play, Stop, and Power events. Also includes web settings form to choose scripts. Pressing play during script selection runs the selected script. So *how* do you choose the script for each event? I can't see how to get it to stick on the player . If I go to Execute on Play File (say) and then choose an item under Select Script then the item does not seem to be marked in any way, and if I go away from that entry and then look again then there is no visible indication. Or are we supposed to actually edit the plugin, and if so, what needs editing? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31035 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
Some more information. The script unjiggle is shown in the Web interface as being set to execute when power is turned off, and it shows that way in the preferences. But when power is turned off (this particular occasion using the PowerSave plugin, but I have observed the same phenomenon when pressing the Power button) the log shows 2007-07-10 07:19:19.0038 Request: Command [00:04:20:05:aa:a2-power] (Done) 2007-07-10 07:19:19.0042Param: [_newvalue] = [0] 2007-07-10 07:19:19.0051 Execute: Power Off 2007-07-10 07:19:19.0054 Execute: No Script Selected so there is definitely something wrong with the plugin. There is also the oddity that when I press and hold Pause, to stop, it seems that the plugin for Play gets executed and then the one for Stop. The log shows 2007-07-10 06:31:43.9851 2007-07-10 06:31:43.9880 2007-07-10 06:31:43.9895 Request: Command [00:04:20:05:aa:a2-button] (Done) 2007-07-10 06:31:43.9898Param: [_buttoncode] = [] 2007-07-10 06:31:43.9901Param: [_time] = [3506.258] 2007-07-10 06:31:43.9902Param: [_orFunction] = [1] 2007-07-10 06:31:43.9906 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:43.9908Param: [_ircode] = [768920df] 2007-07-10 06:31:43.9910Param: [_time] = [3506.258] 2007-07-10 06:31:43.9927 Execute: Play Started 2007-07-10 06:31:43.9932 Execute: Executing jiggle 2007-07-10 06:31:44.7261 2007-07-10 06:31:44.7405 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.7413Param: [_ircode] = [768920df] 2007-07-10 06:31:44.7417Param: [_time] = [3506.366] 2007-07-10 06:31:44.7451 2007-07-10 06:31:44.7464 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.7470Param: [_ircode] = [768920df] 2007-07-10 06:31:44.7473Param: [_time] = [3506.474] 2007-07-10 06:31:44.7524 2007-07-10 06:31:44.8065 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8071Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8082Param: [_time] = [3506.582] 2007-07-10 06:31:44.8101 2007-07-10 06:31:44.8113 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8117Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8120Param: [_time] = [3506.689] 2007-07-10 06:31:44.8137 2007-07-10 06:31:44.8149 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8153Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8156Param: [_time] = [3506.797] 2007-07-10 06:31:44.8169 2007-07-10 06:31:44.8182 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8186Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8188Param: [_time] = [3506.905] 2007-07-10 06:31:44.8212 2007-07-10 06:31:44.8224 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8228Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8230Param: [_time] = [3507.013] 2007-07-10 06:31:44.8507 2007-07-10 06:31:44.8523 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:44.8526Param: [_ircode] = [768920df] 2007-07-10 06:31:44.8529Param: [_time] = [3507.121] 2007-07-10 06:31:45.0097 2007-07-10 06:31:45.0110 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.0114Param: [_ircode] = [768920df] 2007-07-10 06:31:45.0116Param: [_time] = [3507.229] 2007-07-10 06:31:45.0638 2007-07-10 06:31:45.0657 2007-07-10 06:31:45.1162 2007-07-10 06:31:45.5156 Request: Command [00:04:20:05:aa:a2-stop] (Done) 2007-07-10 06:31:45.5447 Request: Command [00:04:20:05:aa:a2-button] (Done) 2007-07-10 06:31:45.5451Param: [_buttoncode] = [stop] 2007-07-10 06:31:45.5454Param: [_time] = [3507.337] 2007-07-10 06:31:45.5456Param: [_orFunction] = [1] 2007-07-10 06:31:45.5463 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.5466Param: [_ircode] = [768920df] 2007-07-10 06:31:45.5468Param: [_time] = [3507.337] 2007-07-10 06:31:45.5627 2007-07-10 06:31:45.5640 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.5644Param: [_ircode] = [768920df] 2007-07-10 06:31:45.5648Param: [_time] = [3507.445] 2007-07-10 06:31:45.5661 2007-07-10 06:31:45.5672 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.5676Param: [_ircode] = [768920df] 2007-07-10 06:31:45.5678Param: [_time] = [3507.553] 2007-07-10 06:31:45.5708 2007-07-10 06:31:45.5721 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.5725Param: [_ircode] = [768920df] 2007-07-10 06:31:45.5727Param: [_time] = [3507.661] 2007-07-10 06:31:45.5737 2007-07-10 06:31:45.5747 Request: Command [00:04:20:05:aa:a2-ir] (Done) 2007-07-10 06:31:45.5751Param: [_ircode] = [768920df] 2007-07-10 06:31:45.5753Param: [_time] = [3507.769] 2007-07-10 06:31:45.5774 Execute: Play Stopped 2007-07-10 06:31:45.5785 Execute: Executing unjiggle but for this I am not sure if it is SlimServer or the plugin which is behaving oddly. -- danco danco's Profile: http
Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
tamanaco;213468 Wrote: No... I get three choices (none) plus Sleep.cmd and Restart.cmd the two batch files that I placed in the scripts path. I can also see all three choices via he Web UI. No matter what selection I make in the Web UI the order in which the choices appear in the SB plugin menu do not correlate. (Yes, I press Change in the Web UI after I make my selection). In some cases the Restart.cmd appears as the first choice even if I don't select it at all via the Web UI. If I select the sleep.cmd batch via the SB menu and press play... the batch is executed, but the option in the plugin menu goes back to whatever was there before.. e.g (none) or restart.cmd. This is a bit odd. Yes, I agree, what shows on the SB does not correlate with what is chosen in the Web interface. One would expect the choice made via the Web to show on the SB in some fashion. But does the choice made in the Web interface (other than the Power Off choice, which seems buggy), actually work when the relevant action is performed? It does for me. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31035 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Need some help getting EXECUTE.PM to work.
I am having a different set of problems with the plugin. I suspect I may not be understanding its action properly. In particular, what is the difference between Execute on Open File and Execute on Play File? I have a script (jiggle) set to execute on play and another (unjiggle) to execute on Stop. But playing the file doesn't always seem to run jiggle though it does run it at times (I'm not quite sure about this), while pressing Stop (that is, pressing and holding Pause) seems to run both jiggle and unjiggle. Here is part of the log obtained when d-plugins is set. 2007-07-09 20:31:55.7666 Execute: Play Started 2007-07-09 20:31:55.7673 Execute: Executing jiggle 2007-07-09 20:31:57.2206 Execute: Play Started 2007-07-09 20:31:57.2215 Execute: Executing jiggle 2007-07-09 20:31:58.1752 Execute: File Open 2007-07-09 20:31:58.1768 Execute: No Script Selected 2007-07-09 20:34:25.6218 Execute: Play Started 2007-07-09 20:34:25.6225 Execute: Executing jiggle 2007-07-09 20:34:27.0087 Execute: Play Stopped 2007-07-09 20:34:27.0098 Execute: Executing unjiggle Here I started playing at 20.31, and then pressed Stop at 20.34. By the way, a very tiny bug in the screen interface. When one sets scripts using the Web interface, the last two items read ON POWER ON Run when a player is turned on. and ON POWER ON Run when a player is turned off. That is, POWER ON occurs both times. A couple more questions. How can I check in the log what script are set? d-plugins doesn't seem to show this, and I would like to be sure that the power off script is set properly. Does the Power Off script only work when one actually presses the button, or will it work if the PowerSave plugin turns off the Squeezebox? If one is using AlienBBC, should one set a plugin to run on Open File or on Play File? The reason I am asking is that I've found AlienBBC from time to time just stops, and I suspect that my computer may have gone to sleep. the jiggle script prevents my computer sleeping, while unjiggle turns that setting off. SlimServer 6.5.2, Mac OS 10.4.10 (just upgraded from 10.4.9) -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31035 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] alienbbc and an intel imac
There's a very simple way to view hidden files, and you don't need to worry about Terminal (or Googling for instructions). Go to Folder in the Go menu of the Finder allows one to type in any name, so just type /usr and you get to that folder and all its subfolders. There's no actual need for things to be in /usr/local/bin, but, if my memory serves, I think the default installation of lame puts it there, and mplayer should be in the same folder as lame. The point about /usr/local/bin is first that it may not exist until you create it, but some third-party applications create it when they are installed, and it is useful to keep /usr/bin for just Apple's own items - it helps to distinguish one from the other. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=35078 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Definitive AlienBBC install for Intel Mac on 6.5 Server ?
You could try changing owner and group of lame to davidgri. I've checked my system (for which AlienBBC works well) and found that both mplayer and lame have myself as owner and group. I'm the person most responsible for the instructions, but as my Mac is a PowerBook, there are things about the Intel Macs that I don't know. But those should not be where the problem lies in this case. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34847 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alienbbc error log Interrogation
Your image indicates a computer whose language is not set to English. So I would guess that English is not your first language, and you have missed the significance of the word respectively I did look at that readme file a while ago, though I forget the full details. I think it referred to two different setups , and respectively means If you have the first setup, put the file in the first place mentioned If you have the second setup, put the file in the second place mentioned. I don't recall what the two setups are, maybe it is Windows and Linux as you suggest, maybe it is two closely related boxes. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alienbbc error log Interrogation
Well, mplayer.sh is certainly needed. Do you have it? On my machine (a Mac, so the exact settings will be different) it is in a folder named bin inside a folder named SlimDevices which also contains a folder named Plugins. The original downloaded AlienBBC should unpack to a folder that contains both a Plugins subfolder and a mplayer.sh file, and the AlienBBC site should have Linux installationinstructions -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alienbbc error log Interrogation
I didn't know what you meant by SSODS, so I Googled for it, and found the item and the related readme.txt. The problem seems to be that the instructions for installing AlienBBC really are not the full instructions but only mention the changes needed in this installation from the standard installation. So, you need to get hold of AlienBBC, which presumably you got from the AlienBBC section of the Plugins page, and combine the installation instructions given there with the instructions in the SSODS readme.txt The specific problem is that the readme.txt, because it is referring to a whole bunch of plugins, just suggests that they should be in a Plugins folder inside the slimserver folder. But steps 2 and 3 of the AlienBBC installation instructions say the the downloaded tar file has to be untarred and put in the slimserver folder, and in fact they are slightly inaccurate if a Plugins folder or a Bin folder already exist. What you need to do is have the Alien folder inside a Plugins folder in your slimserver folder, and the file mplayer.sh in a Bin folder in the slimserver folder. What I can't see is how come you don't have an mplayer.sh file, unless it exists in your untarred download but has not been copied/moved to its proper place. As far as I can see, you don't need to download mplayer as this is part of the SSODS installation, but you do need to edit the custom-convert.conf file because the installed mplayer has a slightly unusual name. I can't speak about checking shares, as I don't know precisely what is needed. You should look at the main AlienBBC instructions and the SSODS instructions and you should be able to work this bit out. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] AlienBBC can't open stream
It can't harm to increase the radio station timeout in Server Settings, Network. Even if it doesn't work, you've only lost a few seconds trying. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34398 ___ plugins mailing list [EMAIL PROTECTED] http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Saving AlienBBC streams as MP3
I don't think AlienBBC is the way to go for this. Just play the programme using Listen Again, and use software that records what comes in (Rogue Amoeba for the Mac even lets you schedule items, or recors with the volume muted). I don't know about PCs, but Audacity is one option. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=34322 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] AlienBBC can't connect
AlienBBC usually works fine, but today, when I try to listen, after checking stream for a long time the message can't connect to retrieve playlist comes up. It's rather weird, as this problem occurs both in SoftSqueeze (running directly on my computer) as well as the Squeezebox, but the items I have in my AlienBBC playlists do play without any problems. Also I can play items through my browser, so it shouldn't be a problem with the BBC site. Using Mac OS 10.4.9. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33976 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] AlienBBC can't connect
I forgot to say, and I don't know if it is relevant, that when I tried Slim Devices Picks (which I usually don't bother with, I only clicked on it by mistake) after a long time with nothing happening I got the message failed to parse http://www.slimdevices.com/picks/radio.opml Oh, and I am using 6.5.1. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33976 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] AlienBBC can't connect
So are there any tests I can usefully perform? There aren't any problems with normal browsing. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33976 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] AlienBBC can't connect
Stopping and restarting SlimServer seems to have solved the issue. I should have thought of that. I'll post further if I still have problems. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33976 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
js85;189388 Macintosh HD/Visitor/Library/SlimDevices/Plugins/Plugins/Alien/21 Items..[/QUOTE Wrote: Well, that's wrong. I aimed at making the instructions really clear, but possibly what was clear to me was not clear to others. Note that you have a Plugins folder inside SlimDevices (which is what you should have) and a further Plugins folder inside that, which is wrong. It should simply be .../SlimDevices/Plugins/Alien So move the Alien folder, and delete the unwanted Plugins folder. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Released: Slim Control 0.3 - Mac OSX dashboard widget
Interesting. You say place the SlimControl directory in your Slimserver's HTML folder. There are two things this could mean. 1. Open the Contents of the SlimServer preference pane and put SlimControl in the HTML subfolder. 2. Put SlimControl in the html subfolder of the SlimDevices folder in the Library. Do both of them work? Method 2 is the preferred one, as it is easier to access and doesn't get clobbered with any upgrade to SlimServer. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33828 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
js85;189073 Wrote: Danco can I refer you to post 13 in this thread So what have I missed? That post just says that you will follow instructions to build mplayer. Maybe you mentioned elsewhere what the results of that were. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
So mplayer is working ok. And AlienBBC isn't? I'm not quite clear what you mean by profile, presumably you mean account. And I'm really unclear what you mean by In the visitor profile is itunes, slimerserver and where I put the mplayer. Where is mplayer? And where is lame? mplayer and lame should both be in /usr/local/bin. To be more precise, installation of lame is likely to put it in /usr/local/bin for you, and in that case, for mplayer to pick it up, mplayer needs to be in /usr/local/bin also. While the two programs can be elsewhere, there are also reasons of tidiness why /usr/local/bin is the best place for them. If you haven't installed lame yet, that would be a reason why AlienBBC won't work. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
js85;188668 Wrote: I've downloaded 1.0pre8 tar file for mplayer. It's unpacked which gives me a blue file called MPlayer1.0pre8 This I've put in a directory called mplayersrc I don't seam to be getting anywhere wth the configure make commandscd mplayersrc: Here are some of my attempts Last login: Sun Mar 18 21:58:49 on ttyp1 Welcome to Darwin! John-Manuels-Computer:~ visitor$ cd MPlayer-1.0pre8 configure --disable-gl --disable-x11 -bash: cd: MPlayer-1.0pre8: No such file or directory 1. Note the difference in file names (if it's not just a misprint in your post), MPlayer1.0pre8 versus MPlayer-1.0pre8. 2. Isn't the cd command wrong? Wouldn't you have to cd mplayersrc first? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Where has My AlienBBC gone?
Here are a couple of ideas 1. Your computer is possessed. 2. You made some changes in your computer. 3. You moved the menu position of the plugin to somewhere else using the Player Settings. This is really too little information for more detailed answers. By the way, it disappeared from your squeezeboxes. How many do you have, and does the problem occur on all of them? And do you mean, as I guess, that AlienBBC does not show up in the Squeezebox menu or does it show up but not work? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33534 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
The version of Lame should not matter. IIRC, the latest Lame is 3.97 but the latest in iTunes to Lame (I've forgotten the precise name) is 3.96.1. I recommended that because it puts its version of Lame in the right place without you having to do anything. bpa is right about the directories that OS X searches. AlienBBC will find mplayer if it is in /usr/local/bin, but OS X itself won't. So the terminal command has to be more specific, starting with /usr/local/bin/mplayer and not just mplayer. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
Terminal is a program that gets you into the Unix underpinnings of Mac OS X. It can be found in the Utilities folder of the Applications folder. Just open it in the normal way, and you get a window into which you have to type commands. In this case you type mplayer -playlist http://www.bbc.co.uk/radio4/realplayer/media/fmg2.rpm (best to cut and paste this - one of the things about Unix is that a typo such as an extra space can do nasty things) and press Return to indicate that the line is complete. If everything was installed properly you should hear Radio 4 after a while. If you don't you can copy the lines of text that appeared into a message here and we should be able to diagnose things further. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC Mac OSX
I don't see that there can be a problem with your installation since some stations play ok. The ones you aren't getting will be the more popular ones. This suggests to me that with more pressure on the BBC servers they may take longer to provide the stream. You might try increasing the Radio Station Timeout (it's in Server Settings/Network) and see if that solves the problem. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33379 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Plugins on a Mac OSX?
If you haven't stopped and restarted SlimServer, try it. It's quite likely that this would solve your issue. But if you've already tried that, I have no suggestions. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33186 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Plugins on a Mac OSX?
rfrost;184475 Wrote: Go to /Library/PreferencePanes/SlimServer.prefPane, then open the package (I use Path Finder, so I don't know if the Finder allows that). You'll then a path continuing: ~/Contents/server/HTML/. Your plugins go there. They could go there, but it's not recommended. With that method an upgrade of SlimServer will lose the plugins. Library/Slimdevices/Plugins is the correct place, allowing for the fact that you need to distinguish between /Library and ~/Library. That is, if you - or anyone else who needs to know - doesn't know, between the Library that is for all users and the ones for each individual user. My preference pane is in ~/Library, by the way, not /Library, because that's how I installed it. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=33186 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Alien BBC doesnt connect today 23/2
Have you tried going to the streams in you Web browser? There's always the possibility that something is going wrong at the BBC. In fact, if you haven't changed anything else, that's perhaps the most likely. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=32998 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: mac os problem
Apart from bpa's suggestion, it can't do any harm to increase the radio station timeout - to 30 seconds or even more - even though it may not help. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31762 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: help - alienbbc not appearing in page
First make sure that you downloaded the right version of AlienBBC. there is one for SlimServer 6.5 and a different one for SS 6.2 or 6.3. That's the commonest error. If you are sure you have the right version, make sure that you have the folder Alien inside the Plugins subfolder of the SlimDevices folder. There could be other issues but if AlienBBC does not even appear in the menu there is something very wrong, and these two points are the most likely. mplayer is working ok, which deals with a later issue some people have had. It never does any harm to say what version of the OS you are using, though in your case this probably does not matter. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=31282 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Q: Basic plugin installation on OSX
As you may already know, many Mac programs are packages, which means that they are folders that appear as files. Control-click on a package and you get an option to See Package Contents. I think the default plugins will be found somewhere in the Contents of the Slimserver preference pane. If your extra plugins aren't visible (they are in the correct place), have you stopped and restartes Slimserver? This is sometimes necessary for new plugins to be recognised. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=30922 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Installed AlienBBC on Mac: no sound
Do you get messages as AlienBBC tries to connect? If so, what are they? Are you trying Listen Live, or an archived program? What is your radio timeout set at? It's in the Network section of Server Settings. If it's too low, the attempt may timeout before the stream is ready. I have occasionally had this issue myself (using 10.4.8) but it's always worked properly a while later, and I have assumed it is something odd about the BBC site that's happening for a few hours. As for tesing mplayer, I forget the exact syntax, which is in the notes IIRC, but if mplayer is in /usr/bin, then just running terminal and typing mplayer followed by the suggested parameters (some mplayer parameters plus the name of some program) will test it. From bpc's comment and my memory, try just mplayer -playlist http://www.bbc.co.uk/radio4/realplayer/media/fmg2.rpm -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=30717 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: OS X security patch kills AlienBBC?
There may be something odd going on at the BBC. I have been having similar symptoms today with AlienBBC, Mac OS 10.4.8, BEFORE the latest security update. It gets as far as Connecting ... but never actually connects. That included a program in Radio 2 and, I think, one in Radio 4. Going to Radio 3 on Internet Explorer, when I tried to select Between the Ears from the item in Speech and Drama I got a message about an error processing the directive, although going to Radio Player and selecting from that produced a programme I am currently listening to. This does suggest that the issue is not on the SlimServer/AlienBBC end. I don't have much time at present to check further, but will report when I can. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=30219 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Attention Plugin Developers: API Changing / Discussion
Jut a quick note, as a user, that this means that 7.0 needs to come with a warning to users. That is, users should be told PROMINENTLY that their current plugins will *not* work with 7.0. Depending on how quickly developers produce new versions of their plugins, that might be a reason for some people not to upgrade. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=30148 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] PowerSave bug?
For some time I have had a problem with my SB not coming on. Following a suggestion in another thread, I turned the PowerSave plugin off, and have not had problems since. this does suggest that there is a bug in PowerSave rather than an issue elsewhere on my system. Running Mac OS 10.4.8, SlimServer 6.5 (though the problem was visible in 6.3), SB connected to my computer by two wireless hops (Airport Extrem Base Station0. Problem is that, after my computer has been asleep, turning it on usually provides a connection to the Sb, but quite often does not. the SB remains dark (even though the screen saver shows date and time and brightness is not set to zero). Pressing the Power key gives the message waking up SlimServer (even though the machine running the server is awake) followed by connecting to SlimServer followed by a blank screen again. I can bring the SB to life by pressing and holding Power (to bring up the Setup screen), pressing Up (to get to Connect to 192.169.1.12), and pressing Right to confirm this choice. I haven't yet started a systematic check of when the problem occurs. I don't know if it only happens when I let PowerSave turn off the SB, as distinct from turning it off manually. I also don't know if it only occurs when the computer is put to sleep before midnight, and then woken up next morning, though I think this may well be the only time I have had this issue. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=29799 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: PowerSave bug?
I've sent you a private message with my email. I started the post partly to see whether others have the same issue. As I mentioned, one person had suggested turning PowerSave off, so it seems he had the issue. Plenty people have the same symptoms, but I am not sure if they were using PowerSave or not. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=29799 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Play *Live* Audio from PC Squeezebox?
This has been discussed several times on the forum. Try searching. Basically one needs a program that will broadcast the sound as a radio stream (Winamp, I believe, but I use a Mac, so don't know, it's Nicecast for the Mac, Icecast for some OS). And then you can make a playlist that points to this stream. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=29232 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Oddity with AlienBBC Playlist
Thanks, that should deal with it. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=28461 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Oddity with AlienBBC Playlist
I have a number of BBC programs listed in my playlists. One is Radio 3's Sunday Feature, with the playlist Sunday Feature.m3u, which reads Ôªø#CURTRACK 0 #EXTM3U #EXTINF:-1,Sunday Feature rtsp://rmv8.bbc.net.uk/radio3/sundayfeat.ra This does go to the Sunday Feature, but to one several weeks back. I can get the current one if I just select it in the Radio 3 submenu of AlienBBC. What is happening? Perhaps a cache somewhere. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=28461 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Softsqueeze 3.1 and dmg image
Yes, I get the same on a PowerBook G4 running 10.4.8. Over in the General forum, someone else reports this, but without stating the OS -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=28248 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] AlienBBC playlists
I've just upgraded to SlimServer 6.5 and the corresponding AlienBBC. I would like to put my AlienBBC Playlist item at the top of the AlienBBC menu. Can someone remind me how to do that. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=28110 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Support for 6.2, 6.3 dropped in my plugins ?
I think you should keep the old versions available - there could be many reasons why someone would not wish to upgrade SlimServer. But no need to develop them further for old versions of SS. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=27666 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Execute Script not working
I know that Execute Script used to work for me, but recently it fails. It sees the script I want to run, says it is running the script, but nothing happens on my computer. I've tested the script running it on my computer (and even created another script for testing), and there's nothing wrong with the shell scripts. Mac OS 10.4.7, SlimServer 6.3.1, and the current Execute Script (1.7). I'm not sure when it stopped working, presumably at one of the upgrades of either SlimServer or Mac OS. Any ideas, or advice on what switches to use for debugging, would be welcome. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=26279 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Execute Script not working
What's weird is that it definitely wasn't working, and now it is. I stopped SlimServer, ran it from Terminal, found it was ok, quit Terminal, stopped SlimServer from the preference pane snd started it again from the preference pane, and now it works fine. I'll report further if the glitch comes back. I think it's posssible that I just wasn't waiting long enough - my script sent the computer to sleep and perhaps thinking it had not worked and pressing another button stopped it working. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=26279 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Noob question about loading plugins...
What version of SlimServer? What OS? ISTR that some other files were needed, and that they were mentioned in the Web site for these plugins. Search the forums, and you should find an answer. I remember finding thisout for someone a fair while ago. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=26173 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: how to play Sirius and the BBC on my Mac...
OK, so mplayer and lame are both in /usr/bin (I think it's tidier to have them elsewhere, but that certainly does not matter as far as use is concerned) and mplayer is working fine. I assume you have the right version of AlienBBC. That is, the one for the Mac and for SlimServer 6.5. Obvious, I know, but people sometimes slip up. Next thing to try is to stop SlimServer and then use the command line to restart it. If you don't know how to do that, we can tell you. I have known it work that way and not in normal use. If there are problems even running from the command line, we can turn on some debugging. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25028 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC blank screen
With no information about your OS and your version of SlimServer, the best I can come up with is that you installed the wrong version of AlienBBC (perhaps for a different OS, perhaps for a different version of SlimServer). -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25583 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Alien BBC and AACplus
See my post on the Announce:AlienBBC 1.05 thread for details of how to find the Unix executable mplayer inside the MPlayer OSX application package. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24910 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Announce: AlienBBC v1.05
The version for OS X turns out to be Mplayer.app, rather than mplayer. That is, it is mplayer with a graphical front end, installed as an application that contains deep inside it, the Unix executable. So this is definitely not what we want unskilled users to install. When I have more time I will extract the Unix mplayer and see how well it works. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25170 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Announce: AlienBBC v1.05
As I remarked earlier, the actual mplayer file is deeply hidden inside MPlayer OSX. Control-click to Show Package Contents. Go to Contents Resources External_Binaries, and you will see an item called mplayer. This still isn't what we want. Control-click again and once more Show Package Contents. Contents contains a folder called MacOS, which in turn contains two Unix files, mplayer and mplayer_noaltivec. A couple of minutes check with mplayer shows that it works for AlienBBC on my PowerBook G4 (unless problems arise with a longer check). Older machines don't have altivec (not sure if Intel ones do), so presumably would need to use mplayer_noaltivec, but would need to rename it to mplayer to get it to work with AlienBBC. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25170 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC - can I search listen again listing?
Pressing buttons on the remote does not go alphabetically in AlienBBC, but it does go numerically. So pressing 1,3,6 in quick succession gets to item 136 in a list (that might have 260 items in total). A bit of guesswork and repeated tries does lead to the relevant item tolerably fast. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25232 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
At the moment there are a few people who are testing my instructions. You've got mplayer working, so that is one issue dealt with. Try checking the permissions on mplayer (and lame). Everyone should be able to read and execute. I know some people have had issues in the past where mplayer works but AlienBBC doesn't. But I can't recall the solutions. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Sorry, I missed that you do have mplayer and lame executable all, as you said. Could you by any chance have another copy of mplayer installed? mplayer.sh will pick up a copy of mplayer in /usr/bin or /usr/sbin and will use it in preference to the one in /usr/local/bin, and such a copy of mplayer won't find lame. I don't see any reason why the slimserver-convert.conf and the custom-types.conf should differ between 6.5 and 6.2 (or 6.3), but I note that you don't seem to have replaced these. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Recording plugin?
pasodoble, you don't say what OS you are using. Depending on this, there are programs for the computer that record the currently playing sound, and there will be scripts that could be used to turn this program on and off. And then there is the Execute Script plugin for the SB, which can make the computer run these scripts. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25038 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: how to play Sirius and the BBC on my Mac...
Unfortunately, it seems that I made an error when writing the instructions. I had forgotten how I installed lame, and I think the suggestion of using iTunes-LAME to install it does not work well. Try using the installer at www.thalictrum.com . It should install lame into /usr/local/bin (which it will create if necessary). Then mplayer should be installed in the same place. Alternatively, you could put both mplayer and lame into /usr/bin, but it's actually easier to reinstall lame as above than to find it inside iTunes-LAME. I don't know anything about Sirius. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=25028 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Does anyone know if the version referenced from the AlienBBC page works for Intel Macs or not? bpa? Neil? If it doesn't, we can use the version indicated by Adrian. Adrian, does this require any extra codecs or is it complete in itself? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Neil Sleightholm Wrote: I have updated the instructions. I think it would be better if you made the request for Mac help, if you don't mind, as I don't think I would understand the issues. Neil I'll be happy to ask. Do you think it is best in the General Forum or the Developers forum? I realised earlier today that I have backed up my main hard drive onto an external one. I can boot from it, so when I have time I can play around with it, deleting files and folders (e.g. removing my /usr/local/bon and seeing if installation of iTune-LAME recreates it) and see what happens, and then easily restore that drive to a standard backup. We do ned someone with an Intel Mac, though, as well, as I can only check on a G4 machine. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Ok, folks, I think I have solved the problems. It looks as if the issue is with the suggestion to use iTunes-LAME. That didn't come from me originally, and I guess I had forgotten how I had installed lame. I am using a G4 Mac. As far as I can see, the procedure for installing lame from the site mentioned below does not currently work on Intel Macs I've now started my Mac from an external drive, and made sure that I did not have /usr/local/bin or /usr/local/lib folders, or the mplayer or lame files. I run my machine as a non-admin user, and had installed SlimServer for that user only. I may need to check further, reinstalling SlimServer for all users, and seeing if any issues occur. 1. I installed AlienBBC as per instructions (actually, I did not bother to reinstall, I just used my original install). 2. I next installed lame. To do this I downloaded LAME Audio Encoder 3.96.1 (I used a previously downloaded version, but I could have found this from VersionTracker or direct from http://www.thalictrum.com/index.php?pageid=6artid=6). This is a .dmg.gz file, which unpacks (automatically in my case, you may have to double-click on it to unpack) to a disk image, which contains one file, lame-3.96.1.pkg. Double-clicking on this takes you through the installation process. Note the following points. This does create the folders /usr/local/bin and /usr/local/lib (if they don't already exist) and puts lame into /usr/local/bin. This installer (according to the notes on the thalictrun page) currently does not work on Intel Macs. So I guess we need other instructions (such as a modification of kefa's) to cover Intel machines. I still think /usr/local/bin is the best place to put things, though some more care will be needed, just for consistency in the installations. 3. Now I installed mplayer into /usr/local/bin (no reason not to, as lame had got itself installed there) following my earlier instructions. 4. Finally, I turned SlimServer off and on again, and ran SoftSqueeze, and easily connected to a radio stream. I think that indicates what's needed. A really thorough check would also have uninstalled SlimServer and reinstalled it, but I didn't feel like doing that. It would also involve comparing a SlimServer installed for one user with one installed for all users, but again I didn't feel like doing that. crouchend, and anyone else using a G3 or G4 Mac, check if this change does work for you. kefa, and others using an Intel Mac, let's work on simplifying things to get a working installation. I think what may be needed is to change your instructions so that one can work entirely in the Finder rather than using Terminal. My point about using Go in the Finder to get to normally invisible folders may be the thing here. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
kefa Wrote: Okay the instructions didn't work for me and I didn't want to taint my intel native system. Here's what I did, although I'm not sure whether this is safe/secure etc. I'm a bit of an apple newbie: 1. Download the intel native Mac OS X preview release of MPlayer (http://www.mplayerhq.hu/design7/dload.html) and install using an admin user 2. Download and extract the native version of lame from http://www.rarewares.org/files/mp3/lame_3.97b2.dmg.zip. Stick it anywhere for the time being. Yes, I agree that this seems to be the version of lame to get if you have an Intel Mac. This is because the automatic installer only works on G3 and G4 machines. But where do you get the idea that the version of MPlayer you reference is Intel native? I may have missed something, but all the information I noticed simply referred to Mac OS X. This is important, as the version that is linked from the AlienBBC page should work just as well, unless the version you downloaded is specifcally needed for Intel machines. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Just got back from holiday, and will reply in more detail later. Re /usr/local/bin. The use of this folder is partly for historical reasons and partly for tidiness. Historical: the ealier versions of mplayer in their own installation instructions recommended use of this folder, and as other files also had to be installed, I thought it was problematic to change these instructions. Tidness: Apple puts some of its own unixy programs into /usr/bin and /usr/sbin. There does seem some point in keeping third-party programs in a separate folder, such as /usr/local/bin. I seem to have a lot of items in my /usr/local/bin, and I certainly didn't install them manually, I think they were created when I installed some other program, as supporting items. Usually, when one doesn't have permission to write to a folder, all that is needed is to authenticate as an administrator. So this isn't a real issue, but should have some mention in the instructions. kefa's points. 1 and 4 do work together, I am sure, but it's exactly that kind of stuff that we want to try to avoid for newcomers. Equally for 2. The original instructions were a mess, because several people produced them independently, and there was no proper reconciliation of them. It is MOST DEFINITELY better to follow my instructions about which version of mplayer to download (not necessarily about where to put them), and about using iTunes-LAME. I have no experience of Intel Macs, it is possible (though I don't see why) that the instructions need changing for them. crouchend, I'll suggest things to try when I am more together. Have you tried running mplayer from the command line? If so, what do you get? It wouldn't surprise me if there were issues with Lame. Anyway, that's the first bit of debugging to try. Everyone. From the point of view of mplayer.sh it doesn't matter whether mplayer is in /usr/bin. /usr/sbin, or /usr/local/bin. As remarked by others, the first two are on the system path, while the third isn't (but the recent change in mplayer.sh deals with this). -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
More (but still not enough). The major problem remains that the AlienBBC developers don't have access to a Mac. I'm not a developer (though I have done a few bits of debugging, moving mplayer around, etc), just a satisfied user of AlienBBC, trying to share the benefit of my experience. But it seems that things don't work for others. It is quite possible that I have installed other items previously that have made things easier for me. What we really need is someone with a new Mac who is prepared to test thoroughly. Alternatively, someone with a Mac and an empty firewire drive on which to make a new installtion of OS X, SlimServer, AlienBBC, etc. It is usually possible to boot from a firewire drive, so that could be used for testing. Neil, is there any way (developers list, general forum, etc) of putting out an appeal for this? I'll be happy to indicate things to try. Neil, also could you change the order of items 2 and 3 in my instructions. It can't harm, and (as my only copy of lame is in /usr/local/bin) I think it is quite possible that the folder /usr/local/bin is created during the installation of iTunes-LAME. kefa, glad you've got AlienBBC working. It's useful to have people's experiences listed in the forum. But these instructions are too complicated for the general user. If my instructions worked properly, they would be at the right level. crouchend, where is your copy of lame (on the two Macs)? If you can't find it easily, you can use Terminal to find it. Run Terminal as an admin user and type find /usr -name lame to see where it is. I suspect an issue with mplayer not finding lame, but can't be sure at this stage. By the way, if you actually live in Crouch End, London, I'm not too far away, and we could perhaps get together to check things. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC and Mac instructions
Good. We might want debugging instructions, but let's wait and see if anybody has trouble. I do reckon you should correct that little bug with the playlists menu even before there is a new version of AlienBBC. But perhaps putting up this slight change is more effort than I realise. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] AlienBBC and Mac instructions
With the newer versions of mplayer and mplayer.sh, the instructions for installation on the Mac can be greatly simplified. Here is my suggestion, for others to comment on. Once we have agreed instructions, these should replace the previous ones, which were rather complicated, due in part to several versions by different people being included. As you will see, I am in favour of spelling things out in great detail - some people may not be aware of certain features of the Mac. here goes: You need various files for AlienBBC. 1) AlienBBC itself. Make sure you download the version for your SlimServer (there are versions for SlimServer 6.2 and 6.5). You will be downloading a file whose name ends in .tar.gz, which your browser may or may not decompress into a file whose name ends in .tar. If your browser has not done this automatically, double-click on the .tar.gz file to get the .tar file. Now double-click on the .tar file, and you will get a folder whose name is something like alienbbc-linux with a version number at the end. In either your personal Library or the main Library on your hard drive there will be a folder named SlimDevices. All the contents of the alienbbc-linux folder need to be put in this SlimDevices folder. In particular, if the SlimDevices folder does not already contain a Plugins folder, you can just move or copy the Plugins folder from alienbbc-linux to SlimDevices; if you already have a Plugins folder in SlimDevices (because you have installed other plugins), you need to move or copy the contents of the Plugins folder in alienbbc-linux into the Plugins folder of SlimDevices. 2) The second item you need is mplayer. Click on the mplayer link at the top of the AlienBBC Web page, and towards the bottom of the resulting page is a link to download mplayer for Mac. This is again a .tar.gz file, which need to be dealt with as before. The resulting folder contains mplayer and also mencoder (which isn't needed). mplayer needs to be put in a suitable place, the best place (for reasons of tidiness and for historical reasons) being in /usr/local/bin. Note that this folder is normally invisible, but can be made visible using Go to Folder in the Finder's Go menu (either type /usr and navigate as usual, or type /usr/local/bin). If this is your first installation of mplayer, please ensure that you have the version given by these instructions. There are many places on the internet where you can download mplayer, and some of them give an older version of mplayer which requires further files to be downloaded and installed. If you already have a working version of mplayer, perhaps in another location, it should not be necessary to change it. 3) Finally, you need a program called LAME. The simplest way to install this is using iTunes-LAME plugin, from http://www.blacktree.com/apps/iTunes-LAME/index.php With all these installed, AlienBBC should work without problems, but you may want to stop and restart SlimServer to make sure that everything is picked up. If not, ask in the 3rd Party Plugins forum, and we should be able to get things working. QUESTION TO OTHER USERS Do we want to put in some details of how to debug, e.g. testing mplayer itself from the command line, running SlimServer from the command line? Should we mention the bug with AlienBBC playlists? I'm inclined not to, as this very minor issue will surely be cleared up in a future version (it's just a matter of some unwanted spaces on one line of one item) and won't affect that many people. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=24480 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC v1.03 / AlienStream / Folders
The same issue came up for me with the 6.2 version of AlienBBC. Same solution. So will the people developing AlienBBC correct the files soon, or will we have to wait for a new version? It is easy enough for users to correct, but first they have to find this thread. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=23957 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Alien BBC and mac
Out of curiosity, what was the solution? I ask because you have two posts within a few minutes of each other, one saying that you followed a suggestion and had no luck, and the other saying that some unspecified suggestion worked. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=23934 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Announce: AlienBBC v1.02
I am glad to see that mplayer.sh (for Mac and Linux) has been changed so that users no longer have to edit it if they put mplayer into /usr/local/bin. It is worth mentioning this. At some point (I am away for a few weeks, but will have access to a computer) I will write some new installation instructions for the Mac. With this change, and the newish mplayer that does not require an external codec, it's all a lot easier than it was. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=23408 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Mac + Slimserver 6.5 + Plugins = Frustration (HELP)
bpa Wrote: Re AlienBBC - On OSX your problem is most likely the problem with mplayer.sh and mplayer not being on the path. Edit mplayer.sh (not with textpad) and change the line app=mplayer to app=/usr/local/bin/mplayer The above is an example = the folder name to be used it the one you have used to hold mplayer The crucial point with this editing is that you must use an editor that preserves Unix line endings - or a program to convert Mac line endings to Unix ones. Editing in a Unix editor via Terminal is ok, so are Tex-Edit Plus and TextWrangler, but not TextEdit. This issue should be solved in the next release of AlienBBC. In another thread there has been a discussion of Shoutcast. Look for details yourself, but I gather they have changed the format of their streams, which is causing problems at present. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=23242 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: alien BBC problem
I would say the same as bpa, but add When editing mplayer.sh, DO NOT use TextEdit. You need an editor that can use Unix line endings (which are different from Mac line endings). You can do the editing in the Terminal if you are used to Unix, or use Tex-Edit Plus or TextWrangler (both easily downloadable). In another thread, we have been discussing the best way to rewrite mplayer.sh so that it works for all users, and probably the next version of AlienBBC will not need any editing of mplayer.sh -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22894 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Turns out to be just an artefact. Possibly a slipup in your code, but equally possibly a result of the way I edited mplayer.sh. The relevant section of mplayer.sh is just # For mplayer pre6 comment out following line and uncomment line after Note that the words line after are on a line of their own, whereas they should be part of the previous line. And it is line after that is line 31 of the script. Line 57, by the way (which throws up an error when mplayer is in the wrong place, as it should do) is $app $* 31 12 In response to your earlier message, there doesn't appear to be a file /tmp/slimserver.log. There is just the big slimserver.log file I don't think this matters. Anyone who is aware enough to look at slimserver.log will see the mplayer: command not found which is enough of a warning, even if not quite as good as mplayer not found on path. And, for others, we can just put in the instructions (when it is time for a new set), If AlienBBC does not work, please let us know, by posting on the forums, where your copy of mplayer is. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Neil Sleightholm Wrote: We might be able to add a message to the Web UI. (line 1143 in plug.pm) Neil I tkae it that you are referring to plugin.pm - there's nothing called plug.pm. I found the code fragment you were referring to, but not on the line you mentioned - I think it was 1497 where I found it. I'm not sure if it produced an error message or not, as I wasn't sure exactly where to look for it in the Web UI. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
OK, it's the same slimserver.log, as it does have the streaming and launching bits. But it didn't produce the error message as mplayer not found on path that the code fragment was supposed to find. Instead it produced (which is every bit as useful) line 57: mplayer: command not found. Of course this means that the early fragment hasn't produced the rror message, and the message we get comes later. Yes, Mac OS has a 'which' command which mplayer gives the answer no mplayer in /bin /sbin /usr/bin /usr/sbin /usr/local/bin I don't know what's going on with the mplayer.sh that was part of your message. When I downloaded it, the result came up as a bunch of non-readable characters, whereas the standard myplayer.sh is just plain text. I can't even show you what it looks like, as when I copy a few lines into this message and then preview the post, most of the symbols just disappear, but there are a whole host of symbols, accented letters, and the like -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
I've found the problem with the mplayer.sh you had in your message. For some reason the mplayer.sh.gz unpacked to an mplayer.sh file which was still compressed/packed. Double-clicking on that file unpacked it to a file named mplayer which is plain text. I'll have a look at it and report back. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Just for the record, and in case it helps. Both which and whereis work on the Mac. On my setup (not sure why, but I have a vague idea) which seems to search /usr/local/bin and all the folders in the main PATH variable, whereis searches the latter folderd but not /usr/local/bin. When mplayer is not in any of the relevant folder, which says no mplayer found in whereis produces no ouput, just goes straight to a command-line prompt. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
I'll check this in the morning. Where would the error message appear if mplayer is not found? On the SB, on a window on the computer, in a shell window? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
I managed to find time to check this code before going to bed. On my Mac it worked fine with mplayer either in /usr/local/bin or in /usr/bin. And, of course, I got no sound with mplayer in a silly place. But I think that ideally in that case the error message should appear in several places. First, on the Squeezebox. Second, in slimserver.log if that is possible. And perhaps in other places. The point is that on the Mac we are not running SlimServer from any kind of command line, so the echo message isn't going anywhere useful at present. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
bpa Wrote: Would the following be acceptable to a Mac user with little experience of Terminal. mplayer and AlienBBC files could be be put into a single tar ball. The user could un-tar to a temp directory and then run a simple install shell script to copy the files to the Alien folder and prompt for a target folder (default /usr/local/bin) for mplayer. It can then copy mplayer and update mplayer.sh accordingly I can't see any reason why this would not be ok from a user's point of view. There would be a couple of issues in creating an install script. The installer from SlimServer ofers two possibilities for installation, For all users and for this user only. The two possibilities install into /Library and ~/Library respectively, and produce (apart from the SlimServer preference pane itself) a folder called SlimDevices. The install script would have to allow for both these possibilities. The other point is that Alien gets installed in the subfolder Plugins of the SlimDevices folder. This may exist already (and might even have an older version of Alien in it) or it might not, and you have to allow for all this. I don't know if an install script is worth while in view of all this - that decision is beyond me. Even a rarball might not be worthwhile, as there is also (I think it is still needed) the need to install a version of Lame - and that too might exist already or might not. From my point of view - but I am fairly experienced on a Mac by now, I'm not sure how difficult it would be for a new user, it's probably time to invite other views - the installation is easy enough once one has found the relevant files, but the crucial point is getting mplayer.sh to work for various places where mplayer might be, and we've worked out how to do that. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Neil Sleightholm Wrote: danco - does the version of mplayer at the bottom of this page http://www.x2systems.com/alienbbc/mplayer.html work for you? If so is there any way it could be included with an AlienBBC Mac download? Neil I think this is the version I originally got from Dave Mason's own page. If so, it works fine. It would certainly be nice if it could be included in an AlienBBC download - it's not for me to say if this can be done. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Neil Sleightholm Wrote: It is the version from Dave. Would it be a bad thing to put it in the bin folder with mplayer.sh? Neil You have to assume that enough users already have AlienBBC installed (or even just mplayer installed for some other reason) that it makes most sense to have mplayer.sh with the extra code fragment that picks up mplayer in more than one place. And once that is done there seems to be no particular good reason to put mplayer in SlimDevices bin folder. And I'm not sure that Unix executables ought to go such a folder. But I can't see that it would do any harm. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
I incorporated Triode's code fragment into mplayer.sh. I can confirm that on my system (Mac OS 10.4.5, SlimServer 6.2.1, and a version of mplayer not needing an additional codec) AlienBBC works fine both with mplayer in /usr/local/bin and in /usr/bin. I suspect that the bit of the code saying elif [ -x /usr/bin/mplayer ] ; then app=/usr/bin/mplayer is not needed, as /usr/bin seems to be in the path environment variable. Still, it does no harm to keep it in. Now all we need is to include some code that gives an error message (preferably on the Squeezebox, not just on the computer) if mplayer isn't in a sensible location. As soon as a new version of mplayer.sh is incorporated into AlienBBC, I will post some new instructions for Mac installation. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC OS X - end of file or error on socket
Good, glad you got it sorted. On another thread we have been discussing changes to mplayer.sh that will mean users no longer have to make this change themselves. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22560 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
I have put bpa's code fragment into my mplayer.sh instead of the original lines, and I can confirm that it works on my Mac (running OS 10.4.5). I think this change in mplayer.sh is the way to go. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
Looking more closely into the way Mac OS X organises things, I find that in subfolders of /usr/local are items that the user has installed (not necessarily directly, maybe using an installer) such as ClamXav, lame, anacron, while the folders such as /usr/bin contain items that are part of Apple's system install. I think this is quite a useful distinction, and worth preserving. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
kanoot Wrote: I guess my point is that since there isn't an installer that you are sure everyone is going to use, just a simple test for the *presence* of mplayer is all that is needed. As long as mplayer is in the environment path and is called it should work. Yes, but part of the problem is that /usr/local/bin turns out *not* to be one of the environment paths in OS X. If it were, then we would not have the problems. The line app=mplayer that is currently in mplayer.sh will, I assume, find mplayer as long as it is in a folder specified as a possible path. The file /private/etc/csh.login which seems to control the paths reads (as I may have already said) setenv PATH /bin:/sbin:/usr/bin:/usr/sbin But you have pointed to an issue with bpa's suggested modification of mplayer.sh. It would work for anyone who has mplayer in /usr/local/bin but not for you, as you have it in /usr/bin. We certainly don't want to suggest that people modify csh.login, as any error could cause major problems. So what is needed is something that, as you say, checks for the presence of mplayer in the environment path and if it doesn't find it there looks for it in /usr/local/bin. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
bpa Wrote: To get /usr/local/bin into the path I think if you add the following line to your .bash_login in your home folder. However some user may not have this file. export PATH=/usr/local/bin:$PATH Personally I think it may be imposing an unnecessary change onto a user especially if it can all be done within mplayer.sh. There's not a .bash_login in my home folder as far as I can see - I've set the Finder to show invisible and system files and it isn't there. I think the path is controlled by csh.login. I agree, making this kind of change is too much for a user. We need to do it within mplayer.sh. Triode's suggestion seems best. Can its error message (mplayer not found) be sent to the Squeezebox, or is that too much to ask? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: mplayer for Mac
Yes, your version of mplayer (March 15th) is working fine. No problems, as far as I can see. But I'm now really puzzled about the codec. I was running mplayer from its download location, which is ~/downloads/tiger installers/mplayer-03-15-06/mplayer The nearest cook.bundle I have is at ~/downloads/tiger installers/keep but little use/mplayers and ffmpeg/reallib/cook.bundle with (for historical reasons) other copies of cook.bundle in subfolders of /usr , /Libraryand Applications. and the log when I ran mplayer (from beginning of run to start of playing BBC programme) is MPlayer dev-CVS-060315-18:00-4.0.1 (C) 2000-2006 MPlayer Team AltiVec found CPU: PowerPC STREAM_HTTP(1), URL: http://www.bbc.co.uk/radio/aod/shows/rpms/radio2/paul_jones.rpm Resolving www.bbc.co.uk for AF_INET6... Couldn't resolve name for AF_INET6: www.bbc.co.uk Resolving www.bbc.co.uk for AF_INET... Connecting to server www.bbc.co.uk[212.58.224.88]: 80... Cache size set to 320 KBytes Playing rtsp://rmv8.bbc.net.uk/radio2/paul_jones.ra. STREAM_RTSP, URL: rtsp://rmv8.bbc.net.uk/radio2/paul_jones.ra Resolving rmv8.bbc.net.uk for AF_INET6... Couldn't resolve name for AF_INET6: rmv8.bbc.net.uk Resolving rmv8.bbc.net.uk for AF_INET... Connecting to server rmv8.bbc.net.uk[212.58.224.141]: 554... Cache size set to 320 KBytes Cache fill: 17.50% (57344 bytes) REAL file format detected. Stream description: audio/x-pn-multirate-realaudio logical stream Stream mimetype: audio/x-pn-realaudio Clip info: name: Paul Jones author: BBC Radio 2 copyright: (C) British Broadcasting Corporation 2006 == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16be, 32.0 kbit/2.27% (ratio: 4005-176400) Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder) == AO: [macosx] 44100Hz 2ch s16be (2 bytes per sample) Video: no video Starting playback... This, as you can see, has no mention of cook.bundle, which my standard installation does. And I haven't been able to find a reference to FFmpeg COOK audio decoder or anything similar on my hard drive (though I do have an old version of ffmpeg). I could experiment by removing (stuffing or zipping) all my versions of cook.bundle and seeing what happens, but that feels too much debugging for me. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
OK, I quite see your point. It does seem to work differently on the Mac. Actually the issue is an error in the MacOS environment variables- there is a path missing. To be precise, in Tiger (for earlier versions, the PATH is set from a different file) csh.login reads setenv PATH /bin:/sbin:/usr/bin:/usr/sbin with no mention of /usr/local/bin So there are several ways to deal with this. 1. a slightly different version of mplayer.sh for Mac. 2. Putting mplayer in /usr/bin rather than /usr/local/bin. I suspect that this would work, but hesitate to suggest it in case it breaks something else. The installation instructions in most versions of mplayer do suggest it should go into /usr/local/bin. 3. Change csh.login. This is probably quite easy, but a mistake in doing it could create a lot of damage. Anyway it is no easier than 4. 4. Simply ask people to edit mplayer.sh. The problem here is that the easiest text editor to use for the average user (who does not want to use an editor in the Terminal, and does not feel like downloading a different text editor even though it is free) is TextEdit, which is included with the OS, and this breaks things because it does not preserve Unix line endings. But it isn't difficult to get hold of a suitable text editor, and this is probably the best solution all round. When we come to producing a new set of instructions (soon, particularly as the newest mplayer does not require an additional codec) this needs to be mentioned explicitly. In fact, I think I did mention it in one version of the instructions, but that never made its way onto the instructions page. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC mplayer.sh and Mac
So it's interesting that kanoot says that there is no problem in putting mplayer and codecs in /usr. I suspected this, but the installation instructions for mplayer for the versions I had specifically say that it should be in /usr/local/bin (with codecs in /usr/local/lib/codecs). It didn't seem a good idea to place it anywhere else, as for all I knew something might break if it were put elsewhere. That's why the instructions I wrote say it should go in /usr/local/bin. I think bpa's suggestion is the best, don't offer users a choice of where to put mplayer but make sure that mplayer.sh can find it without needing editing. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22476 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: mplayer for Mac
I actually tried two versions. The first, dated 14th March, was the one accessed from the AlienBBC page. The second, dated 15th March, came from www.dmason.net/mplayer. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22455 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC 1.01 and playlists
Just to confirm. I have been happily listening to a programme from my AlienBBC playlists. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22378 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] AlienBBC 1.01 and playlists
Just installed AlienBBC 1.01, using Mac OS 10.4.5 (latest security update) SlimServer 6.2.1. Playing an item from the BBC channels menu items seem to work fine. But I have added the Alien Playlists item, and moved it to the top of the menu. When I try to access it (my playlists are in subfolders, though it worked ok in AlienBBC 1.0, the SlimServer just stops. Obviously something wrong here, as even if it had difficulty accessing the items for some reason (such as a change of name or path) it should simply refuse to function and not turn off SlimServer. There's another bug, but since it also existed in 1.0 and is largely cosmetic, I will post it elsewhere. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22378 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC Mac OSX codec problem
I find it a bit strange that you can run mplayer from the terminal but get a codec error when using AlienBBC, so my comments may be way off line. I assume mplayer is in /usr/local/bin. To get AlienBBC to work, you may need to edit mplayer.sh, replacing app=mplayer by app=/usr/local/bin/mplayer. I note that the codec that works (at least on my version of mplayer) is called cook.bundle. You don't seem to have it, which may be the trouble. Look at the AlienBBC instructions to find out where to get it, though it is possible that it is no longer on those pages. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22090 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC - Mac OS X and no sound
Try answering the last question I asked. What does mplayer.sh say for the path to mplayer? This would be the second line of the file (it's a plain text file, but with Unix line endings), the one beginning with app= I'm not guaranteeing that the problem is there, but it may be, and an answer would help us. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=21865 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC Mac - not connecting via Squeezebox
I'm not sure if mplayer has a log. Slimserver has its log either in ~/Library/Logs or /Library/logs, and can also be read on the debugging page of the Web interface. Check the latest, or very recent, post on the other thread, AlienBBC -Mac OS X and no sound for a possible solution (which is actually in the instructions, but because different people produced slightly varying instructions, it can be missed). -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=22040 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: AlienBBC - Mac OS X and no sound
The issue of only working from the command line is mentioned in the troubleshooting section of the documentation on AlienBBC for Mac. I can't recall if we were specific about the answer, and I can't recall the precise answer myself. It's a permissions problem, though. What exactly are the permissions you have for mplayer? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=21865 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Execute Script plugin
This is a bit of a weirdy, as I can't think of any changes I have made that could be relevant. But my script (to make my computer sleep) has suddenly stopped working, though it used to work fine. The script is ok, it runs fine from my computer. But if I try to run it from my SB, it appears to run (it shows running script ...) but does not make my computer sleep. I have double-checked that the script is executable for all users. Mac OS 10.4.4, SlimServer 6.2.1. By the way, the description in Execute.pm still claims it to be 1.0, even on the latest version. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=21444 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Execute Script plugin
Whatever the problem was - and it would be interesting to find out why it happened - I am glad to say that stopping Slimserver and restarting it cured the problem. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=21444 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: CD Player Plugin
Not sure how many people would use such an item. I might, as I still prefer physical CDs to ripping and playing, and this would enable me to play the CD in two rooms at once (with two SBs). Depending on the operating system, a shareware program like Icecast/Nicecast will work. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=20984 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Pugins on Os X
Yes, that Plugins folder is what you want (I am assuming that 'admin' is the only user on the machine). What plugin were you trying? Some need extra perl modules and don't show up without them. The default plugins are hidden from view by the Mac OS. Many Mac items are packages, that is folders that appear like files to the naked eye (it's a neat trick that lets programms have all their support stuff bundled in, rather than all over the place). The SlimServer preference pane is a package. If you control-click on that file there is an option to Show Package Contents. You will find the default plugins in a Plugins folder in the server folder of the contents. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=20366 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: Pugins on Os X
Yes, it will keep preferences and the plugins in the Plugins folder of the SlimDevices folder. It's technically possibly to put the plugins in the Plugins folder inside the preference pane, but these would get lost on an upgrade. Someone else will have to answer about SlimScrobbler. I see no reason why it would not work, if you follow the instructions in the readme link, but I've not tried it. You did remember to stop and restart SlimServer (might not be neccessary, but can't harm). -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=20366 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins