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 937642 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_httpcontrol

Reply #675
I was trying to control foobar via my laptop using 127.0.0.1:8888
But I always get page not found errors.
While the root machine displays the template fine, my laptop isn't able to connect to it.
My laptop runs on win 7, latest firefox beta.
I also tried chrome with the same result.

am I missing something?

Thx in advance


foo_httpcontrol

Reply #677
Thx for your answer.

I have wireless lan at home and have already tried this guide.   
i haven't changed anything in the preferences Dialog, found my ip adress
and pasted it with :8888 at the end.
Result: "page not found".

Even localhost:8888 ie http://127.0.0.1:8888/ doesn't work but I have no idea why.
My Firewall is configured correctly and i can't think of anything else that could prevent
my laptop from connecting to my desktop PC.

Any other ideas?

thx


foo_httpcontrol

Reply #678
On the machine that is running foobar2000 and the foo_httpcontrol plugin, can you connect to 127.0.0.1:8888?

What is the IP address of the machine running fb2k? (Probably something like 192.168.1.101). On your laptop, can you connect to that IP address + :8888? (Something like 192.168.1.101:8888).

Connecting to 127.0.0.1:8888 (or localhost:8888) on your laptop will not work because you are not running fb2k + foo_httpcontrol on that computer. Connecting to 127.0.0.1 means "connect to myself".

foo_httpcontrol

Reply #679
Tobbe: did the combination of component and ajquery latest versions resolve the playlist tabs switching issue you were having?

foo_httpcontrol

Reply #680
Quote
On the machine that is running foobar2000 and the foo_httpcontrol plugin, can you connect to 127.0.0.1:8888?

Yes.
Quote
What is the IP address of the machine running fb2k? (Probably something like 192.168.1.101). On your laptop, can you connect to that IP address + :8888? (Something like 192.168.1.101:8888).

Works perfectly!
i was probably a little intoxicated yesterday because of many whiskey sours...
Happy new year by the way!

Thx (will go to sleep before asking questions from now on  )

Gapkiller



foo_httpcontrol

Reply #681
Works perfectly!
i was probably a little intoxicated yesterday because of many whiskey sours...
Happy new year by the way!

Thx (will go to sleep before asking questions from now on  )

Gapkiller

Great that you got it working. Glad I could help

Happy new year to you too!

foo_httpcontrol

Reply #682
I just tried the last version of httpcontrol and AJquery for foobar 1.0

1. there are some problems with old templates even after adding config.txt, the default templates works
Is there an easy way to update the templates, can you tell us what has changed ?
2. in ajquery flush queue doesn't work for me (chrome 4)

foo_httpcontrol

Reply #683
I just tried the last version of httpcontrol and AJquery for foobar 1.0
1. there are some problems with old templates even after adding config.txt, the default templates works
Is there an easy way to update the templates, can you tell us what has changed ?

nothing apart from requirement of properly formatted config file has been changed, so all old stuff should work as it did before. what problems exactly are you experiencing?
2. in ajquery flush queue doesn't work for me (chrome 4)

I've just tested, it empties playback queue as intended. can you provide a list of steps reproducing the problem?

foo_httpcontrol

Reply #684
Thanks for the new version and the ajquery stuff. I's really cool !
One request however, as I have many playlists. I would prefer to have them in a combo box (like the default design) rather than in tabs as tabs are eating all my space, if it's feasible.
Many thanks ....

foo_httpcontrol

Reply #685
I like the ajquery template.
Especially the way it differentiate albums from single tracks.
It looks simple but very good, i really like it. Thanks.

Is it possible to make ajquery remember  the size and position of album art / browser / library search ?

foo_httpcontrol

Reply #686
NEMO7538: uh. I like tabs as they are, so it stays like it is, I guess. I do realise that jquery tab control becomes quite messy and buggy when tab count surpasses certain number, but I don't use that many playlists thus this problem is kinda invisible for me.
as always, you can make your own template branch, nothing is hardcoded.

Hamallainen: yeah, I've already thought of keeping windows state. I have some spare time and will post updated version later. I'm adding support for right mouse button instead of ctrl+LMB working in firefox/chrome/safari(?) as well.

foo_httpcontrol

Reply #687
Sorry to bother, but I have problem to install the Kevo template:


when I try to access the templates (or instal the installer version), I get the message:

Error loading C:\Dokumente und Einstellungen\XXX\Anwendungsdaten\foobar2000\foo_httpcontrol_data\kevo\config.

Installed templates list.



when i click on the installed template list, I get:

"Installed templates

    * ajquery
    * default
    * kevo [config not found]"


I can access only the ajquery and the default (underlined), which both do work proper, but have no access to the Kevo template (not underlined).

What I have observed in addition and in contradiction to the previous installations (now: Foo 1.0beta6 and foo-httpcontrol 0.96.1) is that in running Foobar under preferences/HTTPcontrol there is no chapter "templates" anymore - so I cannot change the settings for the playlist row etc. anymore!? Is this OK or not?

Thank you all for your efforts! In contradiction to me you´re doing a great job!!!

Josko

foo_httpcontrol

Reply #688
bernharddiner: all template settings are moved from component preferences page to the file named config.
to make kevo template work you need to create config file and put it to kevo template folder. check examples of config in ajquery and default templates, it is really very very simple.

foo_httpcontrol

Reply #689
Thank you oblikoamorale,

thought by myself but was too anxious to try it out.

Now I did it, and it seems to work, as long the iPod mask does not appear and everything is blocked. I have no eror messages but I cannot control Foobar. The only thing I can do is to switch btw. the pages and to hihlight the buttons, but without reaction.

Btw.: the same result with the "old" Lxofith template.

???

foo_httpcontrol

Reply #690
ah. another thing that has to be changed throughout the template script is the state request url. for example, lxofith script queries component with "/" url which doesn't work anymore. url has to be changed to "/lxofith/". all absolute urls to pictures and another resources within scripts or html have to be corrected too.
I have to change component code as well - right now I'm xml-escaping [helper] macros, and most of the old templates don't expect that.

in other words: there is some work to be done converting "old" templates to "new" format and making sure it works. anyone interested is welcome to participate. everyone else should stick with 0.95.7 component version until the old templates they use are converted.

EDIT: I've done some example conversions along with fixing component to be more compatible with old stuff. that's all I can help with.

foo_httpcontrol

Reply #691
Thanks for the remembered state, size and position of windows.
One little problem though , album art isn't displayed anymore.
I use the same path as in my default template config file but in ajquery it doesn't work anymore
(0.96.3 and 0.54a)

foo_httpcontrol

Reply #692
interesting. upload your ajquery config or whole ajquery folder somewhere, please.

foo_httpcontrol

Reply #693
Hey guys,

First thing first i'd like to thank all of you who have contributed to this awesome plugin.
I've got the same problems that bernharddiner has.
This is  fully working with the defaut or ajquery templates but not with kevo's or simplebasic's.
When i use the install feature it just prompt the file content;
I figured out it's suppose to create a proper config file so i've tried to make mine from the defaut template or the ajquery one and include the kevo modification listed in the template readme file.
But so far I've been unsuccesful!!
Can someone send me his config file or just copy/paste it in here.
Thank you for your time

SIncerrely,

Georges Michelet


foo_httpcontrol

Reply #695
sortestrips: please read post #691 and then post #1 of the thread.

Hamallainen: fixed.


foo_httpcontrol

Reply #697
Thanks, working well now.

foo_httpcontrol

Reply #698
I've made a version of Kevo 0.2.3 with an installer and updated readme for you: http://tinyurl.com/yjhngdj
Enjoy!
I may fork this going forward a bit for myself as I have a Motorola Droid - the higher DPI FWVGA resolution makes some of the buttons teensy tiny, and it's a widescreen phone so it has a bit more height to work with, too. Thanks for your hard work, though - it's a pretty slick template!


thanks for your work on this droppedD (and of course kevo).  I was just wondering if you have made any progress on the Droid update...  I just got one and increasing the size of this template to fit the screen better would be great.

foo_httpcontrol

Reply #699
I have tried yesterday installing this control together with Lxofith template for iPod but unfortunately got the same result as bernharddiner –  default template is working whereas Lxofith’s does not. Quick steps recap:

1. Default template is the folder  C:\Users\xxx\AppData\Roaming\foobar2000\foo_httpcontrol_data\default
2. Added Lxofith template files to C:\Users\xxx\AppData\Roaming\foobar2000\foo_httpcontrol_data\lxofith
3. Copied config file from default folder to Lxofith folder and modified as per his readme

Result – trying to acess Lxofith template directly via htto://ip:8888/index.html gives:

Error loading C:\Users\xxx\AppData\Roaming\foobar2000\foo_httpcontrol_data\index.html\config

Whereas selecting it from the list of available templates renders page in the following format (but with actual artist, album, etc data)

{ "artist": "$replace(%artist%,\,\\,",\")", "album": "$replace(%album%,\,\\,",\")", "number": "$ifgreater(%totaldiscs%,1, D%discnumber%.,)%tracknumber%", "track": "$replace(%title%,\,\\,",\")", "len": "%length%" }

Am I doing something wrong or is this now really broken?