Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
4
3rd Party Plugins - (fb2k) / Re: Device-Priority-SMP
Last post by regor -
Sorry I wasn't clear.

Ad 1) With selecting manually I mean click on the button that shows a dropdown of available output devives and then click (not SHIFT click) the output device you want to activate.

nfortunately this only works the first time without the popup. And I have to switch devices by pressing SHIFT before selecting another device. If you don't hold shift while clicking another device it just reverts to the first highest priority available device.
Obviously, that's by design. As I said you, if the script tries to automatically switch devices, there is no way to identify a new device as a manual or automatic change. And you identify a manual change pressing shift. That will not change, but feel free to tweak the code.

Quote
Ad 2) When switching to an available device you don't get a popup and playback just continues on the newly selected device. What I mean I want that behavior too when (instead of switching) the activated/playing external device is switched off.
As I have written before, that works perfectly fine on my side. I never change devices, I just switch them on/off. With your priority order that will never work as you want..

Quote
Ad 3) Tested that already, but doesn't work for me. The JBL Charge is not only used by me and as such I don't want to switch automatically to it when it comes online. Might be one of my kids takimg a batch and wanting to stream to the JBL from their phone.
Then the problem is your particular usage  ;)  You are trying to use it in a way not designed to be used, can't help with that. I mean... it's technically possible to add a new variable which should flag specific devices to not be used automatically, but still maintain them in the priority list. But I have zero interest on that, since I will never use it myself. You can add such code though, which will be more simple than starting from scratch.

Also, you could try setting only a single device on the priority list. The PSD. I think if you manually select the external one, and then you power it off, it should try to switch to the PSD one automatically. i.e. a device doesn't need to be on the list for the rest to work.

Quote
I tested my code with adding the following lines when a device suddenly is unavailable:
   fb.RunMainMenuCommand('Playback/Device/' + arr[1].name);
   if (fb.IsPlaying)   fb.PlayOrPause();
With this code the second output (PBS) is selected and if the switched off external device was playing the Play command is also executed but starts playing from the beginning of the track and always gives the popup.
Kind of weird that fb.IsPlaying is true when foobar obviously stopped playback.
As I said, it is not as simple as just making it play again. It doesn't work. A lot of times playback time is reset without reason, devices act weird, etc. You have to add a few extra lines of code to handle all that.
8
Scientific Discussion / Re: Holographic Media for Analog Audio
Last post by Ennis -
Please erase the drawing and refrain from doing such things as telling me at all how you think it should be done. It is my design.  And there is a patent pending for it. I am glad that you are looking into it, but not to the point where you copy my diagram and work on it by yourself.

If you wish to work with me just make me a serious offer and let's do it together or under my approval. Otherwise  I may not like it.
10
3rd Party Plugins - (fb2k) / Re: foo_httpcontrol
Last post by qqka08 -
is there a template just with artwork only?

This one might come close:
https://www.mediafire.com/file/hygzeejt5hz/lxofith.rar
Full cover art is the background, and if you tap it shows just the art and some controls above & below.


unfortunately this template doesn't update in real time like “ajquery-xxx”, when I switch the track in foobar, the information in the browser doesn't change and the cover doesn't change either. the cover is stretched, also.