IPB

Welcome Guest ( Log In | Register )

44 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
foo_httpcontrol, control foobar via http
Chipicui
post Mar 31 2008, 20:16
Post #26





Group: Members
Posts: 88
Joined: 3-September 07
Member No.: 46732



QUOTE (oblikoamorale @ Mar 31 2008, 12:35) *
QUOTE (Chipicui @ Mar 31 2008, 17:30) *

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! wink.gif

This post has been edited by Chipicui: Mar 31 2008, 20:18
Go to the top of the page
+Quote Post
oblikoamorale
post Mar 31 2008, 20:33
Post #27





Group: Developer
Posts: 302
Joined: 24-March 08
Member No.: 52244



QUOTE (bubbleguuum @ Mar 31 2008, 21:46) *
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
Go to the top of the page
+Quote Post
Chipicui
post 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...
Go to the top of the page
+Quote Post
RainDawg
post 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.
Go to the top of the page
+Quote Post
foo_peter
post Mar 31 2008, 23:19
Post #30





Group: Members
Posts: 51
Joined: 25-September 06
Member No.: 35595



that's fast!

tested Firefox 2.0.0.13




This post has been edited by foo_peter: Mar 31 2008, 23:31
Go to the top of the page
+Quote Post
oblikoamorale
post Apr 1 2008, 15:46
Post #31





Group: Developer
Posts: 302
Joined: 24-March 08
Member No.: 52244



QUOTE (RainDawg @ Mar 31 2008, 23:34) *
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.

QUOTE (RainDawg @ Mar 31 2008, 23:34) *
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.
Go to the top of the page
+Quote Post
steliyan
post 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.
Go to the top of the page
+Quote Post
Chipicui
post Apr 1 2008, 16:46
Post #33





Group: Members
Posts: 88
Joined: 3-September 07
Member No.: 46732



My god!!! laugh.gif laugh.gif laugh.gif
(almost crying)... I can't believe it.... It's by far, the best "customer's service" wink.gif 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
Go to the top of the page
+Quote Post
oblikoamorale
post Apr 1 2008, 17:00
Post #34





Group: Developer
Posts: 302
Joined: 24-March 08
Member No.: 52244



QUOTE (steliyan @ Apr 1 2008, 19:08) *
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 smile.gif
Go to the top of the page
+Quote Post
steliyan
post Apr 1 2008, 17:12
Post #35





Group: Members
Posts: 35
Joined: 30-November 06
Member No.: 38211



Thanks, that was the problem. wink.gif
Go to the top of the page
+Quote Post
oblikoamorale
post 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;
Go to the top of the page
+Quote Post
Chipicui
post 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! smile.gif
Go to the top of the page
+Quote Post
AndyCar
post Apr 3 2008, 19:22
Post #38





Group: Members
Posts: 11
Joined: 19-May 03
Member No.: 6715



QUOTE (oblikoamorale @ Apr 3 2008, 00:18) *
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 biggrin.gif
BTW, may be it's good idea to post info about this plugin here
(oblikoamorale, C'mon you must be russian too wink.gif
Go to the top of the page
+Quote Post
oblikoamorale
post 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;
Go to the top of the page
+Quote Post
alphaex32
post 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.
Go to the top of the page
+Quote Post
RainDawg
post Apr 6 2008, 00:51
Post #41





Group: Members
Posts: 83
Joined: 23-November 04
From: 9th & Hennepin
Member No.: 18294



QUOTE (alphaex32 @ Apr 5 2008, 19:25) *
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 smile.gif.

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.
Go to the top of the page
+Quote Post
alphaex32
post 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.
Go to the top of the page
+Quote Post
oblikoamorale
post 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;
Go to the top of the page
+Quote Post
Chipicui
post 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...
Go to the top of the page
+Quote Post
pIv
post Apr 9 2008, 07:41
Post #45





Group: Members
Posts: 286
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!
Go to the top of the page
+Quote Post
carmenm
post 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 wink.gif)

Thanks for your great work!
Go to the top of the page
+Quote Post
oblikoamorale
post Apr 9 2008, 16:06
Post #47





Group: Developer
Posts: 302
Joined: 24-March 08
Member No.: 52244



QUOTE (pIv @ Apr 9 2008, 10:41) *
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.

QUOTE (carmenm @ Apr 9 2008, 11:37) *
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
Go to the top of the page
+Quote Post
pIv
post Apr 9 2008, 18:40
Post #48





Group: Members
Posts: 286
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!
Go to the top of the page
+Quote Post
carmenm
post Apr 9 2008, 20:47
Post #49





Group: Members
Posts: 720
Joined: 24-November 05
From: Grenoble
Member No.: 25981



QUOTE (oblikoamorale @ Apr 9 2008, 17:06) *
QUOTE (carmenm @ Apr 9 2008, 11:37) *

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?
Go to the top of the page
+Quote Post
oblikoamorale
post Apr 10 2008, 03:59
Post #50





Group: Developer
Posts: 302
Joined: 24-March 08
Member No.: 52244



QUOTE (carmenm @ Apr 9 2008, 23:47) *
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.
Go to the top of the page
+Quote Post

44 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 08:58