Skip to main content

Notice

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

Re: foo_httpcontrol

Reply #1150
I am using foobar2000 controller (Android) on foobar2000 v2.0 32bit 64bit and foobar2000 v1.6.12.
Manually put "foobar2000controller" folder into "foo_httpcontrol_data"

foo_httpcontrol_0_97_19 is x32 x64 foobr2000 v2.0 Support.
How about foo_httpcontrol_0_97_17?
https://bitbucket.org/oblikoamorale/foo_httpcontrol/downloads/

foobar2000 controller (Android)
http://foobar2000controller.blogspot.com
https://www.howtogeek.com/56778/use-android-to-control-your-music-without-getting-out-of-bed/
------------------------
It's a Japanese wiki, but can you understand it with Google?
foobar2000 wiki for Japanese Users
https://foobar2000.xrea.jp

HTTP Control
https://foobar2000.xrea.jp/?General+64bit#a30cc991

Deviceコントローラー > Android > foobar2000 > foobar2000 controller PRO
https://foobar2000.xrea.jp/?foobar2000+mobile#y59198cd
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: foo_httpcontrol

Reply #1151
I am using foobar2000 controller (Android) on foobar2000 v2.0 32bit 64bit and foobar2000 v1.6.12.
Manually put "foobar2000controller" folder into "foo_httpcontrol_data"

foo_httpcontrol_0_97_19 is x32 x64 foobr2000 v2.0 Support.
How about foo_httpcontrol_0_97_17?
https://bitbucket.org/oblikoamorale/foo_httpcontrol/downloads/

foobar2000 controller (Android)
http://foobar2000controller.blogspot.com
https://www.howtogeek.com/56778/use-android-to-control-your-music-without-getting-out-of-bed/
------------------------
It's a Japanese wiki, but can you understand it with Google?
foobar2000 wiki for Japanese Users
https://foobar2000.xrea.jp

HTTP Control
https://foobar2000.xrea.jp/?General+64bit#a30cc991

Deviceコントローラー > Android > foobar2000 > foobar2000 controller PRO
https://foobar2000.xrea.jp/?foobar2000+mobile#y59198cd

Thank you, That worked. I did not remember that we have to download those templates and put some files manually to some foders.....

Re: foo_httpcontrol

Reply #1152
any idea why the search is not working in v2.0 beta?

Re: foo_httpcontrol

Reply #1153
Hi :)

foo_httpcontrol_0_97_21.fb2k-component
https://bitbucket.org/oblikoamorale/foo_httpcontrol/downloads/

32bit: HTTP Control 0.97.21 (2023-01-16)

64bit: HTTP Control 0.97.20 (2022-12-03)

64bit version is an old.

and Where can I find the change log?
Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: foo_httpcontrol

Reply #1154
Up
Changelog is in the first post

Re: foo_httpcontrol

Reply #1155
Up
Changelog is in the first post
oh thank you  ;)
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?


Re: foo_httpcontrol

Reply #1157
Hi :) oblikoamorale
Many Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: foo_httpcontrol

Reply #1158
Hi :)

HTTP Control 0.97.21 (2023-01-16)
foobar2000 v2.0 beta 24 x86/x64

Closing Preferences breaks Username.
It will look like below.

Username:Password:Password:Password

Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: foo_httpcontrol

Reply #1159
HTTP Control 0.97.22 (2023-01-23)
https://bitbucket.org/oblikoamorale/foo_httpcontrol/downloads/

problem solved
Many Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: foo_httpcontrol

Reply #1160
@oblikoamorale Awesome to see you're still working on this! I'm in the middle of writing a pretty advanced modern interface for foo_httpcontrol using svelte (it's damn sweet language although testing is kind of a bitch), and I had a request. Would it be possible to extend helper1, helper2, helper3 into more of a helperN type situation?

Having only the 3 values is somewhat limiting for what I'd like to do. If you hate this idea, it's not the end of the world because it's probably possible to just format JSON in one of the helpers and then parse it in the front end:
Code: [Select]
helper3={artist: -QUOTE-[%artist]-QUOTE, album -QUOTE-[%album%}-QUOTE'}

/* and then in the JSCode do something like */
JSON.parse(fb.helper3.replace(/-QUOTE-/g, '"')
But obviously that's ugly, prone to error and parsing problems, and simply adding a greater/unlimited amount of helpers would be very nice.

Re: foo_httpcontrol

Reply #1161
adding a greater/unlimited amount of helpers would be very nice.

Hey, I agree that it's very sensible request. I had thought about having unlimited helpers from the start, but decided to take the easy route (3 helpers ought to be enough for everyone, right?). Currently I just don't see myself implementing any new features, sorry.
This being said, pull requests are welcome, and I'll gladly accept reasonable contributions.

And good luck with finishing the UI, I'm curious what it would be like...

Re: foo_httpcontrol

Reply #1162
Aww, that's a bummer... maybe I'll get ambitious and do it myself, but it's probably unlikely :)

Here's what it currently looks like after 2 days of hacking on it. Tons of work to be done, but I can get the playingInfo, display an image, extract some colors from it, use that to style elements in the UI, and then display a bunch of data. Playlist and search to come shortly of course. Since I want to extract a bunch of information about the currently playing track, I have to get creative about how I use the 3 helper slots. Unfortunately the playlist has all the information I need, but obviously the currently playing song is not guaranteed to be in a playlist so I can't look it up that way either.


Re: foo_httpcontrol

Reply #1164
@oblikoamorale Thanks for the updated version with expanded helpers! Super helpful to me. I noticed something weird last night using the new version that is maybe unrelated, but wondered if you had any thoughts.

I was searching for an album and the songs from the album came back, but a song which had an apostrophe came back as the first search result, even though it was the 8th song. Search pattern was the default "%date%|%artist%|%album%|%tracknumber%" and I double checked that everything was labeled perfectly. I tried a search for a band that had a few songs with apostrophes in the title, and all 3 of those songs were the first four results, even though their respective albums were not even close to being the first result. I even restarted foobar and results orders were still wrong for songs with apostrophes.

I then did the same search with the same component on my portable installation (which had a slightly different version of ajquery's config file from testing this component last night) but the exact same setup and the results came back correctly ordered. I figured I'd probably screwed something up messing with the `config` file, so I copied the contents of the file from my portable to the main, redid the search and the results came back perfectly ordered with all the apostrophe songs in the correct spot. I then undid the changes to the config (so it was back in what I thought was a bad state), redid the search and the results were correct again.

Any idea what could have been happening here?

Re: foo_httpcontrol

Reply #1165
No idea, sorry. Search calls autoplaylist_manager's add_client_simple and directly supplies desired sort pattern. There's probably not much that can go wrong, if sort pattern on component configuration page is not mangled in some way.

Re: foo_httpcontrol

Reply #1166
I figured out how to repro it. Video here.

Definitely seems like this is a foobar thing and not an issue with the component. Could be related to some setting I have configured. Not sure though. The theme is displaying the results in the order they're received from the component.


Re: foo_httpcontrol

Reply #1167
Is the tracks order in foobar2000 interface mangled as well, or is it correct there?

Re: foo_httpcontrol

Reply #1168
If you're not force sorting, you could try that.

And with a real fb2k instance at your finger tips, check the properties of the autoplaylist with this dialog (right click any playlist tab/manager entry)...


 

Re: foo_httpcontrol

Reply #1169
@oblikoamorale Yeah the results are the exact same inside FB.

If you're not force sorting, you could try that.

And with a real fb2k instance at your finger tips, check the properties of the autoplaylist with this dialog (right click any playlist tab/manager entry)...


Now that I've had some sleep that is obviously the issue. What's weird is that enabling force sorting for the Query Autoplaylist this component generates works to fix the existing order, but changing anything in the search box in the theme unchecks the Force-Sorted toggle and so the problem returns. Honestly have no idea how I never noticed this before unless it changed in the last few months.

Re: foo_httpcontrol

Reply #1170
You'll want to enable force sorting through the component. I'm not trawling the source but look for add_client_simple as mentioned a few posts up.

Code: [Select]
	//! Helper; sets up an autoplaylist using standard autoplaylist_client implementation based on simple query/sort strings. When using this, you don't need to maintain own autoplaylist_client/autoplaylist_client_factory implementations, and autoplaylists that you create will not be lost when your DLL is removed, as opposed to using add_client() directly.
//! Throws exception_autoplaylist or one of its subclasses on failure.
//! @param p_flags See autoplaylist_flag_* constants.
virtual void add_client_simple(const char * p_query,const char * p_sort,t_size p_playlist,t_uint32 p_flags) = 0;

Set p_flags to 1 to force sort.

Re: foo_httpcontrol

Reply #1171
You'll want to enable force sorting through the component. I'm not trawling the source but look for add_client_simple as mentioned a few posts up.
Haha, just saw this, but was already on it: https://bitbucket.org/oblikoamorale/foo_httpcontrol/pull-requests/3

Re: foo_httpcontrol

Reply #1172
Updated ajquery-xxx (and created first public release):
https://regorxxx.github.io/foobar2000-SMP.github.io/others/ajquery-xxx/

Fixed all remaining bugs I found, and added the lock indicator at the status bar thanks to the last http control version.

Changelog from original ajquery up to this release:
Spoiler (click to show/hide)

Re: foo_httpcontrol

Reply #1173
Updated ajquery-xxx again with a minor fix for the play/pause smart button and refreshing on disconnect:
https://github.com/regorxxx/ajquery-xxx/releases/tag/v0.94
Spoiler (click to show/hide)

Re: foo_httpcontrol

Reply #1174
Taking Georgia as an example of a theme changing according to album art, have applied a similar thing to ajquery-xxx:

Images:
Spoiler (click to show/hide)

Gif:
Spoiler (click to show/hide)

It's far from perfect right now, will be fine-tuned with time. It's on latest commit, downloading directly from repository.