Difference between revisions of "Foobar2000:Components 0.9/HTTP Control (foo httpcontrol)"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Minor page formatting changes.)
(Updated component infobox; added info on preferences from component readme file.)
 
Line 1: Line 1:
 
{{DISPLAYTITLE:foobar2000:Components 0.9/HTTP Control (foo_httpcontrol)}}
 
{{DISPLAYTITLE:foobar2000:Components 0.9/HTTP Control (foo_httpcontrol)}}
 
{{Foobar Component Infobox
 
{{Foobar Component Infobox
| name               = foo_httpcontrol
+
| name                 = HTTP Control
| screenshot         = [[Image:Foobar2000-foo httpcontrol-using-iphone-tpl.png|250px]]
+
| screenshot           = [[File:foo_httpcontrol_default.png|256px]]
| caption             = HTTP Control
+
| caption             = Default template running in Google Chrome.
| maintainer         = oblikoamorale
+
| module_name         = foo_httpcontrol
| stable_release     = 0.97.17
+
| developer            = oblikoamorale
| stable_release_date = 2016-01-14
+
| repository          = [http://bitbucket.org/oblikoamorale/foo_httpcontrol/ bitbucket.org]
| foobar_version     = 1.1
+
| released            =
| use                = n/a
+
| released_ref        =
| license            = unknown
+
| stable_release       = 0.97.17
| discussion_thread  = [http://www.hydrogenaudio.org/forums/index.php?showtopic=62218 Discussion thread]
+
| stable_release_date = 2016-01-14
 +
| preview_release     =
 +
| preview_release_date =
 +
| foobar2000_minimum  = 1.1
 +
| foobar2000_maximum  =  
 +
| foobar2000_ui_module =  
 +
| use                  =  
 +
| license              =  
 
}}
 
}}
 
The '''HTTP Control''' component provides the following features via http interface to access:
 
The '''HTTP Control''' component provides the following features via http interface to access:
Line 20: Line 27:
  
 
The component uses external template files containing CSS and JavaScript, and is tested and proved working on Opera 9.26, Firefox 2.0.0.8 and MSIE6. Templates can be created and modified by the user to change the look or add functionality to a template.
 
The component uses external template files containing CSS and JavaScript, and is tested and proved working on Opera 9.26, Firefox 2.0.0.8 and MSIE6. Templates can be created and modified by the user to change the look or add functionality to a template.
 +
 +
==Preferences==
 +
[[File:foo_httpcontrol preferences.png|thumb|Preferences page.]]
 +
; Listen on
 +
: Specifies the IP address and port used for listening to incoming connections. Both IP address and port must be valid, make sure specified port is not used by another program.
 +
; Start server
 +
: Check or uncheck to enable or disable listening for incoming connections.
 +
; <nowiki>Open http://127.0.0.1:8888/</nowiki>
 +
: Opens component page in default browser. Button is inactive if server/listener isn't started.
 +
; Restrict access by Remote IP
 +
: Limit access to component by setting the allowed IP address. Connections initiated from other addresses will be discarded. Setting this to {{code|0.0.0.0}} allows all connections.
 +
; Credentials
 +
: Limit access to component by defining a login/password pair. Untick to disable passwords.
 +
; Allowed paths
 +
: Built-in file browser can be limited to certain paths of your file system. It is useful to simplify the browsing process or hide your secret files from prying eyes. For example, setting "Allowed paths" to {{code|d:\music{{!}}c:\temp\music{{!}}e:\}} permits browsing only in these three file system branches. To additionally access Microsoft Network, add 'Network:' and '\\' (without quotes) to allowed paths.
 +
; Extra formats
 +
: You can specify additional file extensions to be treated as playable files by built-in file browser. It is required for opening archives containing playable files.
 +
: Default: {{code|zip{{!}}rar}}
 +
; Ignore formats
 +
: Ignore files with specific extensions in file browser.
 +
; Allowed protocols
 +
: Urls of specified protocols are allowed to be enqueued by Browse command. Enables enqueueing of urls handled by 3rd party components like foo_youtube (3dydfy protocol).
 +
: Suggested value: {{code|http{{!}}https}}
 +
; Hide non-playable files
 +
: Removes all files which foobar2000 core considers unplayable from built-in file browser.
 +
; Home directory
 +
: Specifies path where component will look for template files. Pressing Open opens specified or default directory in Explorer. If not sure, leave it blank.
 +
; HTTP compression (gzip)
 +
: Enables gzip compression of component output. Enabling it is usually harmless and quite beneficial as component generates a lot of text which is very compressible. Disable if you are using some funky browser and having unexpected problems.
 +
; Stop after queue feature
 +
: Adds "Stop after queue" item in Playback menu. It works exactly as it's named, stops playback when end of playback queue is reached.
 +
; Log access to console
 +
: Enables logging of component access data to foobar2000 console. Useful for debugging etc.
  
 
==External links==
 
==External links==
* [http://bitbucket.org/oblikoamorale/foo_httpcontrol/wiki/Home foo_httpcontrol] on Bitbucket
 
 
* {{ha|http://hydrogenaud.io/index.php/topic,62218.0.html}}
 
* {{ha|http://hydrogenaud.io/index.php/topic,62218.0.html}}
 
+
* [http://bitbucket.org/oblikoamorale/foo_httpcontrol/ foo_httpcontrol] on Bitbucket
[[Category:foobar2000 3rd-Party Components|HTTP Control (foo_httpcontrol)]]
+
* [http://foobar2000controller.blogspot.com/ foobar2000 controller], a remote controller app compatible with foo_httpcontrol.
 +
* [http://sites.google.com/site/foobarcon/ foobarCon], a remote controller app compatible with foo_httpcontrol.

Latest revision as of 22:30, 25 November 2019

HTTP Control
Foo httpcontrol default.png
Default template running in Google Chrome.
Developer(s) oblikoamorale
Repository bitbucket.org
Release information
Initial release
Stable release 0.97.17 (January 14, 2016)
Preview release
foobar2000 compatibility
Architecture {{{foobar2000_architecture}}}
Minimum version 1.1
Maximum version
UI module(s) N/A
Additional information
Use
License
Discussion thread {{{discussion_thread}}}
View all components

The HTTP Control component provides the following features via http interface to access:

  • Full control of playback, including seekbar
  • Basic playlist support
  • Basic file browser functions, including ability to browse Microsoft Network
  • A few customisation abilities

The component uses external template files containing CSS and JavaScript, and is tested and proved working on Opera 9.26, Firefox 2.0.0.8 and MSIE6. Templates can be created and modified by the user to change the look or add functionality to a template.

Preferences

Preferences page.
Listen on
Specifies the IP address and port used for listening to incoming connections. Both IP address and port must be valid, make sure specified port is not used by another program.
Start server
Check or uncheck to enable or disable listening for incoming connections.
Open http://127.0.0.1:8888/
Opens component page in default browser. Button is inactive if server/listener isn't started.
Restrict access by Remote IP
Limit access to component by setting the allowed IP address. Connections initiated from other addresses will be discarded. Setting this to 0.0.0.0 allows all connections.
Credentials
Limit access to component by defining a login/password pair. Untick to disable passwords.
Allowed paths
Built-in file browser can be limited to certain paths of your file system. It is useful to simplify the browsing process or hide your secret files from prying eyes. For example, setting "Allowed paths" to d:\music|c:\temp\music|e:\ permits browsing only in these three file system branches. To additionally access Microsoft Network, add 'Network:' and '\\' (without quotes) to allowed paths.
Extra formats
You can specify additional file extensions to be treated as playable files by built-in file browser. It is required for opening archives containing playable files.
Default: zip|rar
Ignore formats
Ignore files with specific extensions in file browser.
Allowed protocols
Urls of specified protocols are allowed to be enqueued by Browse command. Enables enqueueing of urls handled by 3rd party components like foo_youtube (3dydfy protocol).
Suggested value: http|https
Hide non-playable files
Removes all files which foobar2000 core considers unplayable from built-in file browser.
Home directory
Specifies path where component will look for template files. Pressing Open opens specified or default directory in Explorer. If not sure, leave it blank.
HTTP compression (gzip)
Enables gzip compression of component output. Enabling it is usually harmless and quite beneficial as component generates a lot of text which is very compressible. Disable if you are using some funky browser and having unexpected problems.
Stop after queue feature
Adds "Stop after queue" item in Playback menu. It works exactly as it's named, stops playback when end of playback queue is reached.
Log access to console
Enables logging of component access data to foobar2000 console. Useful for debugging etc.

External links