Afterster
7ba3678bd5
Fix Ampache API get playlist
2014-03-11 07:46:38 +01:00
Afterster
4253d85d6a
Fix https://github.com/ampache/ampache/issues/104
2014-01-28 22:40:02 +01:00
Afterster
5eceaf2aea
Rename Config class to AmpConfig class to avoid conflict with PEAR ( fix #68 )
2013-12-13 08:36:23 +01:00
Afterster
19dd53127e
Option to add items to the currently played web player playlist ( fix #71 )
2013-12-13 00:30:30 +01:00
Afterster
22cb316a48
Ampache code now respect PSR-2 code style
2013-11-17 18:54:14 +01:00
Paul Arthur
438a2a9023
Don't cache browses for the API
...
The API will never request it again, so caching the query just wastes
space.
2013-06-12 13:25:57 -04:00
Paul Arthur
239ea81fdf
Some cleanup of play URL handling
...
Move parsing from Song into Stream_URL and make it parse more things.
Add the type parameter to all generated URLs instead of adding video to
Video URLs.
2013-02-07 14:24:40 -05:00
Paul Arthur
860b7d3ed3
Parameterise query in Api
2013-02-04 17:56:11 -05:00
Paul Arthur
fbbb015950
Use Session for stream sessions
2013-01-28 21:46:00 -05:00
Paul Arthur
58a3ab692e
Move sessiony things from vauth into Session
2013-01-28 16:57:34 -05:00
Paul Arthur
ef4d366060
Cosmetics: death to tabs
...
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
9c28ed5ad1
Consistently use _ in two-word class names
2013-01-25 19:54:11 -05:00
Paul Arthur
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05:00
Paul Arthur
bc90c0128c
Start cleaning up the democratic thing.
...
Whoever wrote the old implementation of get_items suffered from intense fear
and hatred of SQL.
2012-10-15 13:20:28 -04:00
Paul Arthur
8c4921f5f3
Consistently use 'object_type' in playlist returns
2012-10-15 13:20:27 -04:00
Paul Arthur
afd69ce334
Cosmetics: api::url_to_song
2012-09-20 11:22:48 -04:00
Paul Arthur
f65076b93d
Switch from _() to T_()
...
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
2012-04-12 21:13:29 -04:00
momo-i
95620b40a1
Fixed messages translatable.
2011-12-27 15:30:25 +09:00
Karl Vollmer
0c779f36f7
Switched Ping date to ISO 8601, added expire to handshake also ISO 8601
2011-12-19 12:43:51 -04:00
Karl Vollmer
2c06cb5440
Switched API to exceptions rather then trigger_error in most instances, more work on the
...
remote catalog indexing.
2011-11-28 11:22:47 -04:00
Karl Vollmer
d4390d2dfc
Add Catalog count to handshake response for API, Wiki updated to reflect change
2011-11-23 16:17:14 -04:00
Paul Arthur
1e05bfe554
Fix broken API method
...
Api::search_songs needed to declare a type, and Search::run needed to
honour that declaration.
2011-06-28 14:30:52 -04:00
Paul Arthur
7c491ec1c7
Clean up API::handshake
...
Use Access::check_network to check the ACLs. Be more restrictive about
validating timestamps. Miscellaneous cleanup (line wraps, etc.)
2011-05-26 18:35:30 -04:00
Stephen A. Goss
a46d320e98
fix broken xml.server.php login on 32 bit servers
2011-05-23 12:20:16 -07:00
Paul Arthur
ed6dc3df9e
Prevent spurious API login failure messages.
2011-04-26 16:36:43 -04:00
Paul Arthur
4aa256cb07
Clean up some PHPDoc crap
...
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly. They still
aren't.
2011-04-04 17:37:10 -04:00
Paul Arthur
ec14f90bbc
Remove unnecessary hack.
2011-04-04 15:06:06 -04:00
Paul Arthur
a9da6a6fa2
Reworked search
...
Still has tentacles and should have been integrated into the existing
API/Browse implementation better, but it's functional.
2011-04-02 00:48:58 -04:00
momo-i
f99643663c
header comment modified for phpdoc
2011-02-03 09:43:46 +09:00
momo-i
d703009677
header comment for phpdoc
2011-02-03 07:30:23 +09:00
momo-i
add54bc230
test header for phpdoc. now using only classes and libraries.
2011-02-02 16:48:45 +09:00
momo-i
bc7344c9f5
test for phpdoc
2011-02-02 13:35:26 +09:00
Paul 'flowerysong' Arthur
7f36693353
Change Browse from static to instantiable. Among other things, fixes FS#13;
...
probably also breaks things. Most things appear to still work, but I may have
missed some cases.
2010-06-10 05:33:57 +00:00
Paul 'flowerysong' Arthur
c29052f9bc
Use strpos correctly in the API class. Fixes FS#68, reported by Bryce Geiser.
2010-05-03 17:35:17 +00:00
Paul 'flowerysong' Arthur
feae94b52b
Cosmetics. %s/assoicated/associated/g
2010-04-28 22:25:23 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0
Cosmetics: remove trailing whitespace
2010-03-14 20:14:52 +00:00
Paul 'flowerysong' Arthur
d78c207f76
Cosmetics: use tabs for indentation, tweak some indentation/coding style.
2010-03-14 06:10:27 +00:00
Karl 'vollmerk' Vollmer
45f382b06d
Add vim modelines to all php files (Thx ascheel)
2010-03-14 04:53:15 +00:00
Karl 'vollmerk' Vollmer
ef21e122d1
Finish moving stuff out of doc into class, still needs more work to deal with Version as well as variable response (JSON)
2009-11-23 14:54:19 +00:00
Karl 'vollmerk' Vollmer
e4ca74f2b0
start of move of functions for api from doc to class where they belong
2009-11-19 06:10:36 +00:00
Karl 'vollmerk' Vollmer
28fcb8f8ac
It should not have taken me that long to find the one typo
2009-08-20 15:30:24 +00:00
Karl 'vollmerk' Vollmer
f2f017d2b8
add video counts to api handshake
2009-03-31 20:53:39 +00:00
Karl 'vollmerk' Vollmer
9b8d212ef2
escape after log entry and ptoning
2009-03-17 15:12:04 +00:00
Karl 'vollmerk' Vollmer
242401a915
fix the update/add filters in the api and add them into artist and album
2009-03-09 00:59:44 +00:00
Karl 'vollmerk' Vollmer
9eca0afefa
add clean to handshake information
2009-03-02 00:08:25 +00:00
Karl 'vollmerk' Vollmer
ace25154eb
do not overlap filters
2009-03-01 23:59:07 +00:00
Karl 'vollmerk' Vollmer
211a0c47a6
added localplay controls to api in addition to added/updated filters
2009-02-25 01:52:27 +00:00
Karl 'vollmerk' Vollmer
0bdecac947
change handshake date format to ISO 8601
2009-02-24 16:33:38 +00:00
Karl 'vollmerk' Vollmer
b9a2603025
Finish IPv6 support
2009-02-01 01:06:46 +00:00
Karl 'vollmerk' Vollmer
245b69d645
some other minor changes, nothing big
2008-11-29 18:38:46 +00:00