Afterster
22cb316a48
Ampache code now respect PSR-2 code style
2013-11-17 18:54:14 +01:00
Paul Arthur
c952ca6fa3
Be smarter about getting random albums with art
...
Just ask the database for what we want instead of asking for more
results, sifting through them, and hoping that we get enough
qualifying results to fulfill the request.
Also drop Random::album(), since it's duplicate code and it makes more
sense for this to live in Album.
2013-07-22 16:54:47 -04:00
Paul Arthur
df92e52dd3
Clean up Random::play_url()
...
Include the correct type parameter in the URL and rename the random
type parameter to random_type.
Remove unused parameters from the function call.
Should fix issue #11
2013-04-23 14:43:37 -04:00
Paul Arthur
0b0f4d1634
Fix Random class
...
I blame the ghosts.
2013-01-31 15:19:47 -05:00
Paul Arthur
a553204083
Actually fix Random
...
Test first, then push would be better, but I'm not that smart.
2013-01-31 15:04:41 -05:00
Paul Arthur
923aa7f3e8
Fix Random class
...
Random extends media, but the new abstract methods from the transcoding
rework hadn't been defined yet. Reported by deselby.
2013-01-31 14:58:15 -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
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05: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
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
32db091453
Remove obsolete function
2011-04-04 15:35:23 -04:00
Paul Arthur
aa791a400b
Replace useless return with useful return.
2011-04-04 15:24:58 -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
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
9b3232ba29
whole bunch more Dba::query replacements
2009-12-14 05:21:36 +00:00
Karl 'vollmerk' Vollmer
f804835929
some tweaks to make the random play mojo work for streaming, does not work in localplay yet, working on that, nor in democratic play poking that also include asx playlist improvements from jon611
2009-04-08 02:40:07 +00:00
Karl 'vollmerk' Vollmer
dbdd96ed1b
unify how the stream is constructed and played, this is a major change might be some regressions
2009-02-28 18:13:48 +00:00
Karl 'vollmerk' Vollmer
00effbf554
Add very basic buggy as crap video support, fix a few other minor bugs with playlists and random elements
2009-02-02 04:25:25 +00:00
Karl 'vollmerk' Vollmer
84420db434
fixed rating display and rating advanced search, also allow new genre when adding radio station
2008-04-21 01:20:07 +00:00
Karl 'vollmerk' Vollmer
3887ab1f65
fixed some playlist issues, (mime type and selection) cleaned up the preferences lib a little more moved a lot into the class, updated references to old functions
2007-12-16 21:37:23 +00:00
Karl 'vollmerk' Vollmer
02a401563b
seperated out the time into its own section on advanced random play, started working on the unplayed, still not finished, started work on highest rated as well, not working yet
2007-12-15 09:50:33 +00:00
Karl 'vollmerk' Vollmer
ab0e89b8dd
fixed multi-genre random play
2007-11-05 02:52:57 +00:00
Karl 'vollmerk' Vollmer
705fba8f49
ajax loading thingy added to css, fixed random methods on rightbar and added a default sort to the browse methods
2007-09-28 02:18:08 +00:00
Karl 'vollmerk' Vollmer
851c035d4e
fixed album random and by min random
2007-09-25 04:17:03 +00:00
Karl 'vollmerk' Vollmer
231251f055
wups took out debug
2007-08-27 02:39:41 +00:00
Karl 'vollmerk' Vollmer
9d5967348f
fixed advanced random, tweaked some css a tad and fixed a few other minor typos
2007-08-27 02:38:04 +00:00
Karl 'vollmerk' Vollmer
bc36b9d282
added some basic random functionality, need to make the advanced page
2007-08-19 08:50:35 +00:00
Karl 'vollmerk' Vollmer
755ab35f6b
fixed the album art gathering, enabled art resizing and saving of said stuff... not sure if saving and retriving is saving any time. tweaked show test config wording
2007-07-29 07:21:47 +00:00
Karl 'vollmerk' Vollmer
fe5e72104a
fixed some tarded typos, obviously time for me to get some sleep
2007-07-24 05:13:07 +00:00
Karl 'vollmerk' Vollmer
d7f75d16b5
added album and artist dynamic options, tweaked display and how you add em... still not happy with it, but good enough for now
2007-07-24 05:02:50 +00:00
Karl 'vollmerk' Vollmer
a74d0b7163
added dynamic playlist item support, default and genre currently work
2007-07-24 04:10:58 +00:00