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 931097 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

foo_httpcontrol

Reply #25

A question:
How do you filter a folder to enqueue (for example)... only mp3 files?
Thanks


actually I retrieve the list of foobar supported playable files for that. hmm, weird, looks like the extensions restriction I pass to foobar process_locations_async is not making any effect, and I overlooked that. additional filter of incoming filenames added, version 0.6 re-uploaded...


Damn ...that's fast!
How I'd wish to have 1/4 of your programming skills man!
Thank you very much... everything's working ok now! 

foo_httpcontrol

Reply #26
I got the plugin to crash foobar several times by enqueuing a directory (in
the www file broswer)


does it happen during or after enqueuement process? can you try to add the same directory in foobar by File/Add Folder?
perhaps there is a specific file causing the crash, for example, in my system foobar crashes on attempt to enqueue any avi file, getting access violation in an external activex module.

I've uploaded the current version (just in case), please use it if you decide to spend a time on this problem.


Chipcui, thanks, but there's really nothing to wish for, believe me...

foo_httpcontrol

Reply #27
a minor thing though;
I can reproduce the same crash reported above, while enqueueing directories. Foobar reports it as coming from foo_http...
It's my one and only issue with this wonderful plugin...

foo_httpcontrol

Reply #28
Excellent plugin.  I think this will fit nicely into a little idea I had to turn my iPhone into a foobar2000 remote control....something that I could use to change songs from the backyard during a party, or as part of a complex nerdy seduction scheme.

I do have two questions.

1- Is there a security risk with this component?  I see that I can browse through my entire computer.  Clearly with the plugin itself there is little that can be done with those information, but having an index of the entire contents of my discs strikes me as a bit unsettling, especially when that is being exposed to the world.  I realize that with a router this information is behind a firewall, which then restricts my intended use to Wi-Fi and using the "masked" IP address of my PC.

2- How difficult would it be to compress the webpage down to a viewport typically used in mobile webapps?  I only did a cursory look at the code in the html pages; I am wondering if I should head down that road and create a solution for those of us using the iPhone/touch or not.

foo_httpcontrol

Reply #29
that's fast!

tested Firefox 2.0.0.13



foo_httpcontrol

Reply #30
1- Is there a security risk with this component?  I see that I can browse through my entire computer.  Clearly with the plugin itself there is little that can be done with those information, but having an index of the entire contents of my discs strikes me as a bit unsettling, especially when that is being exposed to the world.  I realize that with a router this information is behind a firewall, which then restricts my intended use to Wi-Fi and using the "masked" IP address of my PC.


if i were you, I wouldn't expose it to zeh whole internets without protecting it by proper means you noted, as it initially never been planned to be made bulletproof and used outside the trusted localnet. of course there might be unexpected vulnerability problems in my code or, for example, in the network library I use.

2- How difficult would it be to compress the webpage down to a viewport typically used in mobile webapps?  I only did a cursory look at the code in the html pages; I am wondering if I should head down that road and create a solution for those of us using the iPhone/touch or not.

the only hardcoded thing in template file is the playlist by itself. the rest is up to you, downsize it as you wish.
anyway I guess playlist, even a small one, wouldn't be much of use on mobile phone screen...

2 all - currently I'm clueless about the crash. I enqueued my whole hdd a few times to no crashing luck.

foo_httpcontrol

Reply #31
I got this error, when connect to http://localhost:8888/:
Code: [Select]
failed to read file: components/foo_httpcontrol_controls_tpl.html


No errors in the console, I copied all files in /components dir. Same error with Firefox and Internet Explore. Using v0.9.5.1 with default_ui.

foo_httpcontrol

Reply #32
My god!!!     
(almost crying)... I can't believe it.... It's by far, the best "customer's service"    I've ever had...
Everything's working ok now... and I mean EVERYTHING, even in my Palm!!!.
Now I have the remote control I've been looking for so long!!!!


THANKS THANKS and THANKS AGAIN!!!!


Chipicui

foo_httpcontrol

Reply #33
I got this error, when connect to http://localhost:8888/:
Code: [Select]
failed to read file: components/foo_httpcontrol_controls_tpl.html


No errors in the console, I copied all files in /components dir. Same error with Firefox and Internet Explore. Using v0.9.5.1 with default_ui.


please check that you have a proper working directory in foobar shortcut properties -- it should be pointing at foobar dir and nowhere else.

Chipicui - I'm glad I've been something remotely close to of use

foo_httpcontrol

Reply #34
Thanks, that was the problem.

foo_httpcontrol

Reply #35
I guess this one is going to last for a real while now...
Code: [Select]
v0.62 03 Apr 2008
    add: usability improvements;
    fix: additional safety checks;

foo_httpcontrol

Reply #36
Many thanks...
We can change playlists!

Nice work! 

foo_httpcontrol

Reply #37
I guess this one is going to last for a real while now...
Code: [Select]
v0.62 03 Apr 2008
    add: usability improvements;
    fix: additional safety checks;


I must say- Now I'm falling in love with this sexy plug-in 
BTW, may be it's good idea to post info about this plugin here
(oblikoamorale, C'mon you must be russian too

foo_httpcontrol

Reply #38
couldn't resist fixing things I ran on by myself, sorry.
Code: [Select]
v0.63 05 Apr 2008
    add: clickable path in browser;
    add: previously played track is highlighted in playlist;
    fix: list of playlists wasn't always updated;
    fix: additional safety checks and fixes;

foo_httpcontrol

Reply #39
It would be awesome if someone made a template for this formatted for the iphone/ipod touch.

 

foo_httpcontrol

Reply #40
It would be awesome if someone made a template for this formatted for the iphone/ipod touch.


There is a very good chance that I will take exactly this project on, though not for the next few months.  I just recently purchased a house, so the majority of my time away from work will be tied up for the time being.  However, I just can get over how cool it would be to be able to change the music from anywhere in the house....just as a cool party gag .

So guaranteed that if someone else doesn't do a better job than I could before I get a chance to do some tweaking of the code, I'll do my best to build something that I think fits nicely on the screen.

foo_httpcontrol

Reply #41
Well, if you're planning to make a whole project of it, maybe a native iphone app would be the best way to go.

foo_httpcontrol

Reply #42
Code: [Select]
v0.64 08 Apr 2008
    add: basic http auth;
    add: preferences page moved to tools section;
    fix: too small seekbar;
    fix: some glitches and optimizations here and there;

foo_httpcontrol

Reply #43
Thank you!
It's getting better and better...

foo_httpcontrol

Reply #44
When current song highlighted with gray in playlist - around previous song box is drawing.

My suggestion highlight with color and box drawing only current playing song!

foo_httpcontrol

Reply #45
Hi, i just tried this component and i like it a lot!!!!.
I found a little thing bugging me, if i am connected from the web:
- i start playing from the web
- playing start on my foobar, and the web interface refresh itself
- i pause from foobar
- foobar pauses itself but the web interface doesnt refresh itself!

The other thing is a feature request:
- possibility to draw the album art

I was thinking we might even be able to retrieve artist infos from last.fm .... (it would the last coolest feature )

Thanks for your great work!

foo_httpcontrol

Reply #46
When current song highlighted with gray in playlist - around previous song box is drawing.
My suggestion highlight with color and box drawing only current playing song!

you can modify the appearance or even get rid of previously played track indicator by editing the css section of foo_httpcontrol_controls_tpl.html.

I found a little thing bugging me, if i am connected from the web:

cannot reproduce it. only if I understood the problem correctly, of course.
anyway, try this template file, I wonder if the situation improves?

regarding last.fm stuff.... well, maybe. some time, in distant future...

foo_httpcontrol

Reply #47
Quote
Quote
When current song highlighted with gray in playlist - around previous song box is drawing.
My suggestion highlight with color and box drawing only current playing song!

you can modify the appearance or even get rid of previously played track indicator by editing the css section of foo_httpcontrol_controls_tpl.html.

Big thanks to you.  It is very good solution!

foo_httpcontrol

Reply #48

I found a little thing bugging me, if i am connected from the web:

cannot reproduce it. only if I understood the problem correctly, of course.
anyway, try this template file, I wonder if the situation improves?

regarding last.fm stuff.... well, maybe. some time, in distant future...

i cant access the file.
To sum up my problem, is there a way for foobar on the "server" machine to force refresh of the webpage on the "client" machine when doing something like play or stop?

foo_httpcontrol

Reply #49
To sum up my problem, is there a way for foobar on the "server" machine to force refresh of the webpage on the "client" machine when doing something like play or stop?

ah, I got it. well, there is no way web page would know about changed foobar state without reconnecting. so it is not a bug, really.

2all: there was a typo in 0.64 template file which led to unclickable playlist. typo is fixed, 0.64 re-uploaded.