IPB

Welcome Guest ( Log In | Register )

foo_httpcontrol, control foobar via http
oblikoamorale
post Mar 28 2008, 06:01
Post #1





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



This foobar2000 1.0+ component is developed as replacement for Media Player Classic web control interface, which I used quite a lot, but still didn't like it, as it missed quite a number of features I'd like to have. Also I felt it's a shame such great player as foobar2000 couldn't be remotely controlled over http nowadays. So, erm, I went ahead and somehow developed component featuring functions I use by myself on everyday basis.

This component provides the following features via http interface:
- full control of playback, including seekbar;
- basic playlist support;
- basic playback queue support;
- basic media library support;
- basic file browser functions, including ability to browse Microsoft Network;
- a few UI custimization abilities.

Stock interface template is written using synchronious document model (with basic CSS and JS), and has been tested and proved itself working on any modern browser: Opera, Firefox, Chrome, Safari. Stock interface screenshot

Download foo_httpcontrol
Changelog

User submitted templates for component version 0.96.5 and newer:
for desktop PC browser:
ajquery (jQuery UI based)
default (brain dead simple)
by vakata fix
Opera sidebar, by Ritsl
by vairulez

for mobile devices:
SimpleBasic, for iphone/ipod touch, by L4nt0m
iPhone, by lxofith (vast improvement of Joror template) fix
G1 Android (also Chrome/Safari/Firefox/Opera/iPhone compatible), by Kev0 fix
experimental autoscaling, by Kev0 (based on lxofith work)
foodroid2000, native Android client, by bugramovic
for Android, by regi24
for 320x240 screens, by kaFFee666
for Nokia N900, based on vakata2, by yolan
iPhone and iPad remotes, by vogliadicane

Illustrated beginner's guide to the component.

This post has been edited by oblikoamorale: Nov 23 2011, 16:20
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Tim Schuhmacher
post May 11 2008, 15:21
Post #2





Group: Members
Posts: 12
Joined: 10-May 08
Member No.: 53426



QUOTE (Hamallainen @ May 11 2008, 11:02) *
...
Also it would be nice if there was a way to see enqueued tracks...

That can be achieved by requesting the content of the queue playlist, so that funcionality is already present.

Oblikoamorale, your new idea of implementing queue and cursor management controls, does that mean extra refreshing of the webpage?

And would it be possible to come up with variations of [PLAYLIST]. So maybe [PLAYLIST_WITH_DELETE] and [PLAYLIST_WITH_ENQUEUE] etc? So that I has a user can 'create' my best configuration for the webpage? Or some options in the properties in foobar with checkboxes that represent the items to be included in the webpage? The last option is maybe more user friendly.
Go to the top of the page
+Quote Post
oblikoamorale
post May 11 2008, 15:48
Post #3





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



QUOTE (Tim Schuhmacher @ May 11 2008, 18:21) *
QUOTE (Hamallainen @ May 11 2008, 11:02) *

...
Also it would be nice if there was a way to see enqueued tracks...

That can be achieved by requesting the content of the queue playlist, so that funcionality is already present.

not quite right, queue information has to be requested separately. I'm still considering the best way of showing queue within the existing playlist without introducing any other (table) data. color highlighting might be a good compromise even although it introduces some problems, for example, when one track is queued several times.

QUOTE (Tim Schuhmacher @ May 11 2008, 18:21) *
Oblikoamorale, your new idea of implementing queue and cursor management controls, does that mean extra refreshing of the webpage?

one refresh per one action, that is the way it is designed.

QUOTE (Tim Schuhmacher @ May 11 2008, 18:21) *
And would it be possible to come up with variations of [PLAYLIST]. So maybe [PLAYLIST_WITH_DELETE] and [PLAYLIST_WITH_ENQUEUE] etc? So that I has a user can 'create' my best configuration for the webpage? Or some options in the properties in foobar with checkboxes that represent the items to be included in the webpage? The last option is maybe more user friendly.

the ultimate way to satisfy any end user wishes would be to transfer all web page playlist formatting to user end. what I mean is that template's javascript receives some sort of playlist data array, and generates the playlist section of the page by itself. I didn't benchmark this approach yet, but my guess it's going to be quite expensive, considering this stuff is being used on some mobile devices.
Go to the top of the page
+Quote Post
Hamallainen
post May 11 2008, 23:26
Post #4





Group: Members
Posts: 229
Joined: 1-April 04
Member No.: 13171



Nice, it all seems to work fine here. Thanks for the improvements
IMO it would be better if the dropdown action list could remember the last action.

QUOTE (oblikoamorale @ May 11 2008, 15:48) *
not quite right, queue information has to be requested separately. I'm still considering the best way of showing queue within the existing playlist without introducing any other (table) data. color highlighting might be a good compromise even although it introduces some problems, for example, when one track is queued several times.
Color highlighting is ok for me. I don't know if it's possible but maybe a tooltip showing the queue position(s) would be enough, at least for me.

QUOTE (Tim Schuhmacher @ May 11 2008, 18:21) *
That can be achieved by requesting the content of the queue playlist, so that functionality is already present.
I had not thought about it. Thanks for the tip.
Go to the top of the page
+Quote Post
oblikoamorale
post May 12 2008, 07:10
Post #5





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



QUOTE (Hamallainen @ May 12 2008, 02:26) *
Color highlighting is ok for me. I don't know if it's possible but maybe a tooltip showing the queue position(s) would be enough, at least for me.

I'm not exactly sure what do you mean, a way of indicating the playback progress within the queue?

QUOTE (Hamallainen @ May 12 2008, 02:26) *
QUOTE (Tim Schuhmacher @ May 11 2008, 18:21) *
That can be achieved by requesting the content of the queue playlist, so that functionality is already present.
I had not thought about it. Thanks for the tip.

ah, right. he meant foosion's playback queue plugin, didn't he?

to everyone: can you post screen shots or screen photos of plugin running on your pda or mobile phone or whatever exotic or not so exotic devices? or perhaps some of you modified the front end appearance or behaviour in one or another way, what is also quite interesting for me. I absolutely wouldn't mind seeing or reading the feedback. thanks smile.gif
Go to the top of the page
+Quote Post
Hamallainen
post May 12 2008, 10:46
Post #6





Group: Members
Posts: 229
Joined: 1-April 04
Member No.: 13171



QUOTE (oblikoamorale @ May 12 2008, 07:10) *
QUOTE (Hamallainen @ May 12 2008, 02:26) *
Color highlighting is ok for me. I don't know if it's possible but maybe a tooltip showing the queue position(s) would be enough, at least for me.
I'm not exactly sure what do you mean, a way of indicating the playback progress within the queue?
Well not the playback progress in minutes/seconds, i was just talking about eventually showing the enqueued tracks position(s)/index(es) within the playback queue. But with Tim Schuhmacher's suggestion it's maybe not needed except it requires to install an extra component. In fact I was suggesting this because you said :
QUOTE (oblikoamorale @ May 11 2008, 15:48) *
I'm still considering the best way of showing queue within the existing playlist without introducing any other (table) data. color highlighting might be a good compromise even although it introduces some problems, for example, when one track is queued several times.
Go to the top of the page
+Quote Post
oblikoamorale
post May 12 2008, 16:05
Post #7





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



QUOTE (Hamallainen @ May 12 2008, 13:46) *
Well not the playback progress in minutes/seconds, i was just talking about eventually showing the enqueued tracks position(s)/index(es) within the playback queue.

I've thought of adding an additional playlist column with serial number of enqueued track within playback queue, but considered it as a minor thing. if you think it'll improve usability, I'll add it, no problem.
It's just me who didn't (and still doesn't) use queueing at all.

QUOTE (Gerrit @ May 12 2008, 16:22) *
There are two things that I am looking for:
a) instead of a complete webpage returned I only need a string with the track info/file name etc.
b) Volume Up and Volume Down instead of setting the volume to a certain percentage (I might have the control interface on screen on more than one machine.

first request is possible by changing the page template. take a look at its inside, it isn't complicated. volume control in this way is not possible at the moment, but again, there's no big deal to implement it (if it is needed).

QUOTE (Tim Schuhmacher @ May 12 2008, 17:41) *
I will try to make a picture of your component in action on my SonyEricsson w950i phone.

thanks, much appreciated.
QUOTE (Tim Schuhmacher @ May 12 2008, 17:41) *
I do experience one problem. Maybe this problem did also exists in the previous version. I have a playlist with online radio streams. When listening to a stream the progress bar shows some strange behaviour.
[...]

well, it is no surprise radiostreams cause some problems considering the fact they don't have any fixed length. I'll fix it (or try to, at least).

This post has been edited by oblikoamorale: May 12 2008, 16:06
Go to the top of the page
+Quote Post
Hamallainen
post May 12 2008, 23:29
Post #8





Group: Members
Posts: 229
Joined: 1-April 04
Member No.: 13171



QUOTE (oblikoamorale @ May 12 2008, 17:05) *
I've thought of adding an additional playlist column with serial number of enqueued track within playback queue
yep that would be fine thanks
Go to the top of the page
+Quote Post

Posts in this topic
- oblikoamorale   foo_httpcontrol   Mar 28 2008, 06:01
- - math0ne   I couldn't get this to work. It connects but ...   Mar 28 2008, 07:37
- - oblikoamorale   by default it is configured to be available on net...   Mar 28 2008, 07:46
- - foo_peter   Extremely useful....have been using it for a long ...   Mar 28 2008, 11:28
- - Chipicui   Wow!! amazing... Thanks a lot ! ...   Mar 28 2008, 15:57
- - Chipicui   Sorry if I bother you too much... but this little ...   Mar 28 2008, 16:31
|- - oblikoamorale   QUOTE (Chipicui) Using it via wifi from my Palm br...   Mar 29 2008, 07:45
|- - TooSteep   QUOTE (oblikoamorale @ Mar 28 2008, 22:45...   Mar 29 2008, 16:12
- - TooSteep   Newb question here... From Opera 9.26, I am tryin...   Mar 28 2008, 18:00
- - blubbo   I like the idea but with 70% cpu utilization when ...   Mar 28 2008, 21:16
- - Hamallainen   Thank you so much for this. There's a long tim...   Mar 29 2008, 02:44
- - Hamallainen   Hi, A little feedback after some testing. In Fir...   Mar 29 2008, 12:46
|- - oblikoamorale   QUOTE (Hamallainen @ Mar 29 2008, 14:46) ...   Mar 29 2008, 13:35
|- - Hamallainen   QUOTE (oblikoamorale @ Mar 29 2008, 13:35...   Mar 29 2008, 14:59
|- - oblikoamorale   QUOTE (Hamallainen @ Mar 29 2008, 16:59) ...   Mar 29 2008, 17:23
- - bubbleguuum   Useful plugin, I want to use it with my PSP, as a ...   Mar 29 2008, 21:06
- - nightfishing   Works great. (very handy) Thank you!   Mar 30 2008, 05:09
- - Hengest   Thanks for the plugin. One suggestion though: add ...   Mar 30 2008, 07:31
- - oblikoamorale   updated... CODE v0.6 30 Mar 2008 fix: templa...   Mar 30 2008, 19:18
|- - Hamallainen   QUOTE (oblikoamorale @ Mar 30 2008, 19:18...   Mar 30 2008, 23:21
- - smok3   (about sorting: the same behavior is noticed with ...   Mar 31 2008, 07:41
- - Chipicui   Holy cow!!!!!!!!...   Mar 31 2008, 15:17
- - Chipicui   A question: How do you filter a folder to enqueue ...   Mar 31 2008, 15:30
|- - oblikoamorale   QUOTE (Chipicui @ Mar 31 2008, 17:30) A q...   Mar 31 2008, 16:35
- - bubbleguuum   Thanks for the updated version I got the plugin ...   Mar 31 2008, 19:46
|- - oblikoamorale   QUOTE (bubbleguuum @ Mar 31 2008, 21:46) ...   Mar 31 2008, 20:33
|- - RainDawg   Excellent plugin. I think this will fit nicely in...   Mar 31 2008, 21:34
|- - oblikoamorale   QUOTE (RainDawg @ Mar 31 2008, 23:34) 1- ...   Apr 1 2008, 15:46
- - Chipicui   QUOTE (oblikoamorale @ Mar 31 2008, 12:35...   Mar 31 2008, 20:16
- - Chipicui   a minor thing though; I can reproduce the same cra...   Mar 31 2008, 21:04
- - foo_peter   that's fast! tested Firefox 2.0.0.13   Mar 31 2008, 23:19
- - steliyan   I got this error, when connect to http://localhost...   Apr 1 2008, 16:08
|- - oblikoamorale   QUOTE (steliyan @ Apr 1 2008, 19:08) I go...   Apr 1 2008, 17:00
- - Chipicui   My god!!! (almost crying)... I ...   Apr 1 2008, 16:46
- - steliyan   Thanks, that was the problem.   Apr 1 2008, 17:12
- - oblikoamorale   I guess this one is going to last for a real while...   Apr 2 2008, 21:18
|- - AndyCar   QUOTE (oblikoamorale @ Apr 3 2008, 00:18)...   Apr 3 2008, 19:22
- - Chipicui   Many thanks... We can change playlists! Nice ...   Apr 3 2008, 03:38
- - oblikoamorale   couldn't resist fixing things I ran on by myse...   Apr 5 2008, 19:55
- - alphaex32   It would be awesome if someone made a template for...   Apr 6 2008, 00:25
|- - RainDawg   QUOTE (alphaex32 @ Apr 5 2008, 19:25) It ...   Apr 6 2008, 00:51
|- - alphaex32   Well, if you're planning to make a whole proje...   Apr 6 2008, 01:32
- - oblikoamorale   CODEv0.64 08 Apr 2008 add: basic http auth; ...   Apr 8 2008, 20:52
- - Chipicui   Thank you! It's getting better and better....   Apr 8 2008, 22:39
- - pIv   When current song highlighted with gray in playlis...   Apr 9 2008, 07:41
- - carmenm   Hi, i just tried this component and i like it a lo...   Apr 9 2008, 08:37
|- - oblikoamorale   QUOTE (pIv @ Apr 9 2008, 10:41) When curr...   Apr 9 2008, 16:06
|- - pIv   QUOTE QUOTE When current song highlighted with gra...   Apr 9 2008, 18:40
|- - carmenm   QUOTE (oblikoamorale @ Apr 9 2008, 17:06)...   Apr 9 2008, 20:47
|- - oblikoamorale   QUOTE (carmenm @ Apr 9 2008, 23:47) To su...   Apr 10 2008, 03:59
- - oblikoamorale   I guess this is where the saga ends. I reached all...   Apr 19 2008, 21:09
|- - Hamallainen   Thanks a lot for your work. Much appreciated, real...   Apr 20 2008, 01:31
- - Chipicui   Yes!... Thank you very much for such a nice an...   Apr 21 2008, 17:33
- - Cutter   Your plugin is impressive but is there a way to se...   May 8 2008, 08:49
|- - oblikoamorale   QUOTE (Cutter @ May 8 2008, 11:49) Your p...   May 8 2008, 16:34
|- - Cutter   QUOTE (oblikoamorale @ May 8 2008, 17:34)...   May 8 2008, 21:00
- - kanuac   Nice work. Thanks!   May 8 2008, 16:54
- - Tim Schuhmacher   First: oblikoamorale thanks for this component, I ...   May 10 2008, 23:43
|- - oblikoamorale   QUOTE (Tim Schuhmacher @ May 11 2008, 02...   May 11 2008, 05:06
|- - Hamallainen   QUOTE (oblikoamorale @ May 11 2008, 05:06...   May 11 2008, 11:02
- - Tim Schuhmacher   QUOTE (Hamallainen @ May 11 2008, 11:02) ...   May 11 2008, 15:21
|- - oblikoamorale   QUOTE (Tim Schuhmacher @ May 11 2008, 18...   May 11 2008, 15:48
|- - Hamallainen   Nice, it all seems to work fine here. Thanks for t...   May 11 2008, 23:26
|- - oblikoamorale   QUOTE (Hamallainen @ May 12 2008, 02:26) ...   May 12 2008, 07:10
|- - Hamallainen   QUOTE (oblikoamorale @ May 12 2008, 07:10...   May 12 2008, 10:46
||- - oblikoamorale   QUOTE (Hamallainen @ May 12 2008, 13:46) ...   May 12 2008, 16:05
||- - Hamallainen   QUOTE (oblikoamorale @ May 12 2008, 17:05...   May 12 2008, 23:29
|- - foo_peter   to everyone: can you post screen shots or screen p...   May 12 2008, 16:41
- - Tim Schuhmacher   QUOTE (oblikoamorale @ May 11 2008, 15:48...   May 11 2008, 19:13
|- - oblikoamorale   QUOTE (Tim Schuhmacher @ May 11 2008, 22...   May 11 2008, 19:36
- - oblikoamorale   something like should be appropriate for most of t...   May 11 2008, 21:36
- - Gerrit   Hello, I have been looking for a control like thi...   May 12 2008, 13:22
- - Tim Schuhmacher   QUOTE (oblikoamorale @ May 12 2008, 07:10...   May 12 2008, 14:41
- - oblikoamorale   CODE v0.69 13 May 2008 add: VolumeUp/VolumeD...   May 13 2008, 04:23
|- - Hamallainen   perfect thanks   May 13 2008, 10:39
- - Cutter   Small request: currently the page refreshes automa...   May 13 2008, 15:43
|- - oblikoamorale   QUOTE (Cutter @ May 13 2008, 18:43) Small...   May 13 2008, 16:06
- - Cutter   What about an element within the webpage code wich...   May 13 2008, 16:30
|- - oblikoamorale   QUOTE (Cutter @ May 13 2008, 19:30) What ...   May 13 2008, 16:53
- - Cutter   Yeah it would be overkill for quite a little impro...   May 13 2008, 19:26
|- - oblikoamorale   QUOTE (Cutter @ May 13 2008, 22:26) Anoth...   May 14 2008, 03:53
- - Cutter   Thanks.   May 14 2008, 10:33
- - oblikoamorale   I've organised some kind of radio streaming ju...   May 17 2008, 06:25
- - Hancoque   A small feature request: I'd like to be able t...   May 17 2008, 06:53
|- - oblikoamorale   QUOTE (Hancoque @ May 17 2008, 09:53) A s...   May 17 2008, 12:28
|- - Hancoque   QUOTE (oblikoamorale @ May 17 2008, 13:28...   May 17 2008, 16:18
|- - oblikoamorale   QUOTE (Hancoque @ May 17 2008, 19:18) QUO...   May 17 2008, 17:30
- - Hancoque   Thanks!   May 17 2008, 19:34
- - Jorgo   What for, really? In the foobar Media Library you ...   May 18 2008, 10:52
- - oblikoamorale   probably because the media library access interfac...   May 18 2008, 17:02
|- - Hancoque   QUOTE (oblikoamorale @ May 18 2008, 18:02...   May 18 2008, 21:28
- - thuneau   This is a very cool component. Thank you very much...   May 18 2008, 20:07
|- - oblikoamorale   QUOTE (thuneau @ May 18 2008, 23:07) This...   May 19 2008, 04:05
- - oblikoamorale   it seems that programming a threaded micro-webserv...   May 20 2008, 20:59
- - oblikoamorale   well, at least I can enjoy the favicon now CODE v...   May 21 2008, 20:31
- - Hancoque   So, finally you did it. There is still a problem...   May 21 2008, 22:48
|- - Ritsl   QUOTE (Hancoque @ May 21 2008, 23:48) I...   May 22 2008, 01:15
- - soulruins   Great plugin! Thanks. My optimization for iPh...   May 22 2008, 15:14
- - oblikoamorale   soulruins: looks great! very thanks for postin...   May 22 2008, 16:09
- - Hancoque   I think it's no problem to generate (X)HTML co...   May 23 2008, 00:41
11 Pages V   1 2 3 > » 


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: 20th August 2014 - 07:10