1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 18:29:40 +02:00
Commit graph

196 commits

Author SHA1 Message Date
Afterster
26b0320c4a Add song previews on missing albums, EchoNest API support 2013-12-28 16:40:35 +01:00
Afterster
08cdf73349 Merge branch 'master' of github.com:ampache-doped/ampache
Conflicts:
	lib/class/update.class.php
2013-12-26 22:17:13 +01:00
Afterster
be947f9218 Add Wanted List feature 2013-12-26 22:13:44 +01:00
SUTJael
9edffd6fb8 Personal information visibility (Fix #81) 2013-12-26 12:47:06 +01:00
SUTJael
228cbd8648 Ability to hide personal info from other user (now playing, recently played). Fix #78
Fix colspan on video list.
2013-12-16 15:38:21 +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
b69b5a44f7 Fix code style 2013-12-12 08:36:11 +01:00
SUTJael
54ee95a49e Merge branch 'master' of https://github.com/ampache-doped/ampache 2013-12-11 14:10:19 +01:00
SUTJael
9aeeaaa6b8 Showing agent in recently played list 2013-12-11 14:10:09 +01:00
Afterster
5901139ee7 Change web solutions to enabled by default 2013-12-09 13:48:27 +01:00
Afterster
51cff99ef6 Fix #61 2013-12-06 23:03:43 +01:00
Afterster
f16e1267fe Fix code style 2013-12-02 07:34:57 +01:00
SUTJael
4eaf4f7e8a "flagged" (unused) feature removed. Will light DB interaction. All seems good for me, need to check to be sure.
Fix jPlayer theme
2013-11-29 00:23:17 +01:00
Afterster
3d13df9e0c Fix code style 2013-11-25 01:56:46 +01:00
Afterster
f1d69768b4 Add Plex backend first implementation 2013-11-25 01:55:52 +01:00
Afterster
7af54ac88c Fix code style 2013-11-24 02:44:22 +01:00
Afterster
beae0b97a2 Remove jPlayer for live stream and add Muses Radio Player 2013-11-23 15:57:43 +01:00
Afterster
e35f175a4b Rename HTML5 Player to Web Player 2013-11-23 13:50:29 +01:00
Afterster
5dd56668bb Fix code style 2013-11-18 08:16:57 +01:00
Afterster
2f41d29e8f Add 'Now Playing' insertion date field and an option to show current played song in HTML5 page title 2013-11-18 08:08:25 +01:00
Afterster
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01:00
Afterster
846d4dc37f Catalog type are now plugins!
Fix support HTTPS and musicbrainz ids sur AmpacheAPI
2013-11-16 16:48:28 +01:00
Afterster
540f25ed17 Add option to show number of times an artist/song/album was played 2013-11-14 00:09:38 +01:00
SUTJael
96648e3c5d Done (see branch album-default-sort). #16 2013-11-10 11:57:50 +01:00
Afterster
6b55732567 Optional Now Playing filtered by user option 2013-11-09 18:16:45 +01:00
Afterster
c901f61bf1 Add user flags on songs, albums, artists
Bug fix rating on stats page (object id conflict)

Bug fix cell alignment when rating disabled
2013-11-09 18:11:30 +01:00
Afterster
99ad5f7f82 HTML5 player replaced by JPlayer and add an iframed version of the player 2013-11-09 13:32:47 +01:00
Afterster
e1ea9d76d9 Optional Now Playing filtered by user option 2013-11-01 10:36:36 +01:00
Paul Arthur
a057a9808d Increase supported sessionID length
Should fix GH #74
2013-10-30 21:33:14 -04:00
Paul Arthur
e78dfd6681 Clean up Update
Remove some cruft, update some comments.
2013-10-30 21:11:01 -04:00
Paul Arthur
cf5a674965 Update the stream_playlist table to use MyISAM
InnoDB's performance is unacceptable out of the box, and there's no
clean way to batch these insertions into transactions, and stuff.

Benchmarks for 1000 inserts:
InnoDB: 54.826
MyISAM: 0.091
InnoDB transaction: 0.159

Fixes GH #14
2013-04-29 15:18:35 -04:00
Paul Arthur
b7c9678012 Switch Dba from mysql to PDO-MySQL
The mysql extension is deprecated in PHP 5.5 and will be removed in the
future.
2013-01-29 03:08:52 -05:00
Paul Arthur
0d569db17b Fix incorrect updates
Starting with a fresh 3.3.3.5 import these updates failed.  Kick them to
the curb.
2013-01-28 21:48:10 -05:00
Paul Arthur
1b4fe6a2b1 Drop unnecessary updates
We only claim to support updates from 3.3.3.5, and that tarball has
340002.
2013-01-28 21:46:00 -05:00
Paul Arthur
a80c969202 Clean up updates
Drop useless updates that created or modified tables which were later
dropped.
2013-01-28 21:46:00 -05:00
Paul Arthur
8b061518cb Make the update process potentially sane
Make sure our writes succeed before declaring the update a success and
updating the DB version.
2013-01-28 21:46:00 -05:00
Paul Arthur
a6b70f9eba Rename the 'local' auth method to 'pam'
It's what it should have been from the start.
2013-01-28 21:23:14 -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
83dc27dcce Remove explicit collation settings from updates
Shouldn't be necessary, might be wrong, hmm.
2013-01-25 18:01:15 -05:00
Paul Arthur
e2ca05d5b4 Make playlist downloads idempotent
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.
2013-01-15 11:30:47 -05:00
Paul Arthur
d772b031a9 Switch from print_r to json_encode in debug output 2012-11-13 18:31:33 -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
f2e01ab7d5 Increase the size of the mbid column in artist
Picard is putting multiple MBIDs in the tags now that MusicBrainz' new
schema is live.  The easiest way to deal with this is to store all of
them as an aggregate value and match against that.
2012-03-31 22:29:09 -04:00
Paul Arthur
ca60de30bc Add CLI tool for running database updates 2012-03-06 16:42:04 -05:00
Paul Arthur
e9e350b71e Lengthen varchar for tmp_playlist.session
Sessions can be longer than 32 characters.  Bump to 64.
2012-02-21 00:08:20 -05:00
Karl Vollmer
d7c6598528 Fix DB updates so catalog remote_username and remote_password are added correctly, also fix catalog creation so they are stored in the database 2011-11-23 10:45:43 -04:00
Paul Arthur
383c21ffa9 Use Dba::fetch_assoc instead of mysql_fetch_assoc 2011-06-24 11:55:37 -04:00
Paul Arthur
998f74ac71 Make require_session work with local auth. 2011-05-31 23:08:06 -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