📜 ⬆️ ⬇️

Remote control foobar2000

The other day, I attended to the problem of remote control of the foobar2000 player via the iPhone . Actually, the problem was that there was no universal solution. Most of the plug-ins are either already outdated or have not met my needs. For example, management via the telnet protocol required a heap of unnecessary gestures, and the lack of a visual interface was depressing. Googling, I found the Signal utility, which was originally developed to control iTunes player, but at the moment, WinAmp and WMP support is already announced. “Make friends” Signal with its foobar2000 was not difficult (helped by the winamp ' a API emulator - foo_winamp_spam ). Everything is good: there is player control, it displays the cover of the active track, but ... there is no playlist showing (here the problem is rather that foobar2000 is not declared as a supported player, with WinAmp and clones, I think there will be no such problem) another track from the music library.

But today I stumbled upon the foo_httpcontrol component! The principle of the plug-in is the same as that of Signal (it works using the http protocol ... reads TCP / IP commands), but here’s the functionality ...

This is my foobar2000. Added for beauty :)
Let's start with the fact that the component was originally designed for foobar2000, which means there is no need to “dance with a tambourine” in order to make it friends with the player (what the settings page and the plug-in look like, you can see by clicking on this link ). Also, the functionality of the plugin allows you to get full access to your music library, i.e. You can remotely add any files to your playlist. But since the templates were originally created for display in the browser, then when browsing through the iPhone, there are well-founded complaints.

And I decided to optimize the templates for the iPhone display, what came out of it, see below:
')
img_00121 img_00141
In the component settings ( Preferences - Tools - HTTP Control ), the following should be specified:

Playlist format:
[%tracknumber%]' - '[%album artist%]' - '[%title%]

Page title format:
[%artist% - %title%]

Infoline format:
Artist: %artist%
Track: %title%
Album: %album%
Date: %date% %_foobar2000_version% %codec% %bitrate%kbps %samplerate%Hz %channels%

Artist: %artist%
Track: %title%
Album: %album%
Date: %date% %_foobar2000_version% %codec% %bitrate%kbps %samplerate%Hz %channels%


Optimized for iPhone templates and the plugin itself, download it here .

PS To work with the plugin, you need a Wi-Fi access point (router) and an iPhone (it is quite possible that the Pocket PC will be displayed normally, but I did everything under my screen).

Source: https://habr.com/ru/post/25969/


All Articles