| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Remove some of the roundabout complexity that had built up. Push people
toward using a single, flexible tool for most of their transcoding
needs. Increase backend and configuration flexibility to support
user-requested format changes (e.g. for an HTML5 player); this
functionality is not yet exposed.
|
|
|
|
| |
Dynamic downsampling, I suppose.
|
|
|
|
|
|
| |
Now that playback doesn't pretend it's supported, we don't need the
fragile hacks to support guessing the content size or 'seeking' within
a transcoded stream.
|
|
|
|
|
| |
Simplify the rating search and drop the ugly subquery; make it a
straight query against the current user's ratings.
|
|
|
|
|
|
|
|
|
|
| |
Drop the public variables from the rating class; everyone should use the
getters.
Add the ability for themes and applications to distinguish between
a user's actual rating and the global average rating; in the web
interface the average shows up if a user hasn't rated something but at
least one other user has.
|
|
|
|
|
|
| |
It's a little suspect to automatically delete them just because another
was used. Waiting for them to expire will get rid of them plenty quick,
with less chance for weird issues.
|
|
|
|
| |
When it's a video, add some special sauce.
|
| |
|
|
|
|
|
| |
Previously, users who didn't have access to modify the password were
shown the actual current setting instead of asterisks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Should fix the VLC plugin, as well as allow direct use of an Ampache
site on Android devices.
First, split the Stream class into an instantiable class that does the
playlist wrangling and a static class that handles the streaming stuff.
How does this work? Well, stream.php does its fancy stuff like
gathering the media IDs and clearing the playlist, but instead
of generating the playlist file there we use the Stream_Playlist
class to store the list of URLs in the database, then redirect to
play/index.php to create the actual download (there are some magic
playlist types like localplay that don't need to redirect.)
The playlist will be cached as long as that stream session is active, so
it can be downloaded multiple times and by clients that don't share the
browser's cookie cache.
Clean up the playlist generation by reducing copypasta.
|
| |
|
|
|
|
|
| |
The actual class name is localplay_controller, the filename should
reflect that.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This makes it theoretically possible to replace Dba with a different
implementation somewhat painlessly.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
is_readable is flaky under Windows, opendir should be more accurate.
|
| |
|
|
|
|
|
| |
Whoever wrote the old implementation of get_items suffered from intense fear
and hatred of SQL.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Global variables are ugly and unnecessary.
|
| |
|
|
|
|
|
| |
Removed check from User->update_stats. It looks iffy, is reported to be
broken, and everything that calls it has an independent check.
|
|
|
|
| |
Add a sanity check before we attempt to execute the SQL statement
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This should be a more complete fix, and possibly a somewhat more
efficient approach.
|
|
|
|
|
|
| |
This quick fix probably won't interact properly with smart playlists,
and it doesn't seem like a very efficient approach. But it's less
broken.
|
|
|
|
|
| |
make_bool is definitely the wrong way to handle the parameter. This
(untested) change might fix the bug.
|
|
|
|
|
|
| |
Actually transfer all ASF tags into the asf tag array. I suspect that
some things like 'genre' may actually be multivalued, but I don't have
any samples to back that up.
|
|
|
|
| |
I'm tired of seeing alpha1.
|
|
|
|
|
|
| |
It's expected that reading from sessions will fail after expiry or
before login. Remove the word 'error' from the logged message and bump
it down a few levels.
|