Bryan Schumaker
798134b910
Web server improvements
...
I want to use the remote control this weekend, so I needed to fix it up.
2011-12-22 14:16:33 -05:00
Bryan Schumaker
c02bffb652
libsaria: Web server controls playback
...
I can choose songs to play by clicking rows in an html table. I also
write text to the client as it becomes available, rather than doing it
all at once.
2011-05-15 15:39:14 -04:00
Bryan Schumaker
8ff437a682
web server: Load songs from the library browser
...
This patch will load a song clicked on in the original library browser.
This is a better action than trying to play the song through html5!
2011-05-01 11:05:55 -04:00
Bryan Schumaker
c17126553f
web seeking
...
This patch adds the ability to seek forwards or backwards in a song
through the web controls.
2010-12-27 22:07:24 -05:00
Bryan Schumaker
2eb16793ca
Clean up controls.html
...
This makes everything easier to read
2010-12-27 22:06:25 -05:00
Bryan Schumaker
ef5be29197
web: better controls
...
I split out the web controls to a new file, and can set the status of
the play button correctly when the page is loaded. Finally, the
set_play_button() function is called on a timer so changes on the
application will be reflected on the web page eventually.
2010-12-27 19:00:27 -05:00
Bryan Schumaker
6fd7ea77a2
web: remove return value from send_request
2010-12-27 13:02:07 -05:00
Bryan Schumaker
3c2f4ac147
web: rename do_request to send_request
2010-12-27 13:01:48 -05:00
Bryan Schumaker
f90c387652
web: controls use external utils.js
...
Using external javascript makes things easier to read and work with.
2010-12-27 13:01:00 -05:00
Bryan Schumaker
7455b408e6
web: set_attr_once()
...
The set_attr_once() function is the same as set_attr(), only it will
only set the value once. Attributes like "version" should use this,
since the ocarina version shouldn't change often.
2010-12-27 12:49:19 -05:00
Bryan Schumaker
66a637815e
utils.js: separate attr and id
...
I was using the attribute as the object id in the html page. By
splitting the two, I can have the same attribute set in multiple places
on a single page independently.
2010-12-27 12:45:23 -05:00
Bryan Schumaker
7c7bf03d71
Set index.html attributes using utils.js
2010-12-27 12:42:22 -05:00
Bryan Schumaker
1b9af74cdc
Added utils.js
...
The utils.js file is an external javascript file that will make it
easier to set attributes / do controls from more than one page.
2010-12-27 12:41:33 -05:00
Bryan Schumaker
9dadf082b4
Added uptime to web controls
...
Asking for the uptime control will return how long ocarina has been
running.
2010-12-27 12:40:40 -05:00
Bryan Schumaker
961eacf3c4
Began new library browser
...
The new library browser will eventually morph into a web-based clone of
the desktop Ocarina application.
2010-12-26 22:51:18 -05:00
Bryan Schumaker
805db95d05
add html/images directory
...
I thought this was already added? I guess it wasn't. Oops...
2010-12-26 12:29:29 -05:00
Bryan Schumaker
bcdbd3dfc9
Rename web buttons
...
The stock_media-* style was too hard to work with. The buttons have
been renamed in the following way:
stock_media-next.png -> next.png
stock_media-pause.png -> pause.png
stock_media-play.png -> play.png
stock_media-next.png -> next.png
2010-12-26 12:27:52 -05:00
Bryan Schumaker
759342dc70
Attrs and icons
...
- Return improved attributes for artist / album / version
- Remove icons that were recently moved
2010-12-24 12:42:13 -05:00
Bryan Schumaker
3498c46130
Increase web get_attrs timeout
...
Every second was too much! Do it every 3 seconds instead.
2010-12-24 12:41:26 -05:00
Bryan Schumaker
b81ba094fd
Added attributes to web page
...
The attributes update every second to check for the current song.
2010-12-24 12:31:55 -05:00
Bryan Schumaker
f05e6c6336
Set default page
...
During startup, we should check if the initial page exists. If it
doesn't we will switch to the default page instead.
2010-12-03 08:35:15 -05:00
Bryan Schumaker
6d9d3e0cb9
Web controls updates
...
The web controls need to be updated to call the control functions in
libsaria.controls
2010-12-03 08:32:04 -05:00
Bryan Schumaker
d768e65a4f
Web remote controls
...
I can play, pause, stop, and advance to the next song through the web
interface.
2010-12-03 08:30:15 -05:00
Bryan Schumaker
f30793f545
Album page improvements
...
I have improved the album art page. It shows the songs in a given
album, and clicking the song will cause it to play.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
1ea1cae552
Web album display beginnings
...
I have begun working on a way to display information about albums.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
cd156db6fc
Link to the library page.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
6062a2e65e
Library viewer
...
This gives the web interface a list of artists and albums currently in
the library.
2010-12-03 08:30:14 -05:00
Bryan Schumaker
c11b824984
Managed to get index.html working on android
2010-12-03 08:30:13 -05:00
Bryan Schumaker
2ef4d146fc
Added test.py
...
Right now, this file will make a table with all my music.
2010-12-03 08:30:13 -05:00
Bryan Schumaker
b03ec4cffd
Added favicon to html/
2010-12-03 08:30:13 -05:00
Bryan Schumaker
eaa4d65a06
Began working on a web remote plugin
...
This plugin will eventually allow me to control ocarina through a web
interface. So far, it can serve up web pages located in
current_working_directory/HTML.
2010-12-03 08:29:16 -05:00