foo_httpcontrol, control foobar via http |
![]() ![]() |
foo_httpcontrol, control foobar via http |
Mar 31 2008, 20:16
Post
#26
|
|
|
Group: Members Posts: 88 Joined: 3-September 07 Member No.: 46732 |
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! This post has been edited by Chipicui: Mar 31 2008, 20:18 |
|
|
|
Mar 31 2008, 20:33
Post
#27
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
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... This post has been edited by oblikoamorale: Mar 31 2008, 20:44 |
|
|
|
Mar 31 2008, 21:04
Post
#28
|
|
|
Group: Members Posts: 88 Joined: 3-September 07 Member No.: 46732 |
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... |
|
|
|
Mar 31 2008, 21:34
Post
#29
|
|
![]() Group: Members Posts: 83 Joined: 23-November 04 From: 9th & Hennepin Member No.: 18294 |
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. |
|
|
|
Mar 31 2008, 23:19
Post
#30
|
|
|
Group: Members Posts: 51 Joined: 25-September 06 Member No.: 35595 |
|
|
|
|
Apr 1 2008, 15:46
Post
#31
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
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. |
|
|
|
Apr 1 2008, 16:08
Post
#32
|
|
|
Group: Members Posts: 35 Joined: 30-November 06 Member No.: 38211 |
I got this error, when connect to http://localhost:8888/:
CODE 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. |
|
|
|
Apr 1 2008, 16:46
Post
#33
|
|
|
Group: Members Posts: 88 Joined: 3-September 07 Member No.: 46732 |
My god!!!
(almost crying)... I can't believe it.... It's by far, the best "customer's service" 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 |
|
|
|
Apr 1 2008, 17:00
Post
#34
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
I got this error, when connect to http://localhost:8888/: CODE 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 |
|
|
|
Apr 1 2008, 17:12
Post
#35
|
|
|
Group: Members Posts: 35 Joined: 30-November 06 Member No.: 38211 |
Thanks, that was the problem.
|
|
|
|
Apr 2 2008, 21:18
Post
#36
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
I guess this one is going to last for a real while now...
CODE v0.62 03 Apr 2008
add: usability improvements; fix: additional safety checks; |
|
|
|
Apr 3 2008, 03:38
Post
#37
|
|
|
Group: Members Posts: 88 Joined: 3-September 07 Member No.: 46732 |
Many thanks...
We can change playlists! Nice work! |
|
|
|
Apr 3 2008, 19:22
Post
#38
|
|
![]() Group: Members Posts: 11 Joined: 19-May 03 Member No.: 6715 |
I guess this one is going to last for a real while now... CODE 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 |
|
|
|
Apr 5 2008, 19:55
Post
#39
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
couldn't resist fixing things I ran on by myself, sorry.
CODE 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; |
|
|
|
Apr 6 2008, 00:25
Post
#40
|
|
![]() Group: Members Posts: 327 Joined: 28-July 04 Member No.: 15832 |
It would be awesome if someone made a template for this formatted for the iphone/ipod touch.
|
|
|
|
Apr 6 2008, 00:51
Post
#41
|
|
![]() Group: Members Posts: 83 Joined: 23-November 04 From: 9th & Hennepin Member No.: 18294 |
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. |
|
|
|
Apr 6 2008, 01:32
Post
#42
|
|
![]() Group: Members Posts: 327 Joined: 28-July 04 Member No.: 15832 |
Well, if you're planning to make a whole project of it, maybe a native iphone app would be the best way to go.
|
|
|
|
Apr 8 2008, 20:52
Post
#43
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
CODE 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; |
|
|
|
Apr 8 2008, 22:39
Post
#44
|
|
|
Group: Members Posts: 88 Joined: 3-September 07 Member No.: 46732 |
Thank you!
It's getting better and better... |
|
|
|
Apr 9 2008, 07:41
Post
#45
|
|
|
Group: Members Posts: 276 Joined: 9-July 03 Member No.: 7668 |
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! |
|
|
|
Apr 9 2008, 08:37
Post
#46
|
|
![]() Group: Members Posts: 720 Joined: 24-November 05 From: Grenoble Member No.: 25981 |
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! |
|
|
|
Apr 9 2008, 16:06
Post
#47
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
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... This post has been edited by oblikoamorale: Apr 9 2008, 16:09 |
|
|
|
Apr 9 2008, 18:40
Post
#48
|
|
|
Group: Members Posts: 276 Joined: 9-July 03 Member No.: 7668 |
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! |
|
|
|
Apr 9 2008, 20:47
Post
#49
|
|
![]() Group: Members Posts: 720 Joined: 24-November 05 From: Grenoble Member No.: 25981 |
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? |
|
|
|
Apr 10 2008, 03:59
Post
#50
|
|
![]() Group: Developer Posts: 302 Joined: 24-March 08 Member No.: 52244 |
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. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 08:44 |