1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00
Commit graph

166 commits

Author SHA1 Message Date
Afterster
348c94ccd6 Add artist name in playlist song link title (#fix 42) 2013-11-21 19:12:05 +01:00
Afterster
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01:00
Afterster
ee93570646 Add Subsonic catalog type 2013-11-16 20:17:38 +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
Afterster
5c618a9696 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-10 12:07:30 +01:00
Afterster
346b25516d HTML5 player transcode only if available, otherwise keep flash fallback 2013-11-10 11:57:35 +01:00
Paul Arthur
a589211bb6 GH #49 - Add support for aacp transcoding
Seems harmless enough.
2013-09-20 11:57:47 -04:00
Paul Arthur
f56dd055b2 Unify debugging output to a single file
Splitting some things off to ampache-catalog doesn't really make sense
to me and makes it harder to see the entire process during catalog
operations.
2013-05-27 19:18:48 -04:00
Paul Arthur
47f140a8b1 Clean up Song->_get_info() and constructor
Return false and unset the id if the song isn't in the database.
2013-05-13 22:32:54 -04:00
Paul Arthur
744e6bb994 Make remote catalogs actually work 2013-03-28 16:56:21 -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
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
8a750c3e87 Move [un]format_bytes() from general.lib.php to UI 2013-01-26 02:36:58 -05:00
Paul Arthur
eaa44dcd09 Continue moving things into UI
check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv()
truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
2013-01-26 01:15:59 -05:00
Paul Arthur
31920c88a7 Move Catalog::get_disabled() to Song 2013-01-26 00:40:03 -05:00
Paul Arthur
1069d54c85 Move clean functions into their respective classes
Uniformly name them gc()
2013-01-25 21:45:47 -05:00
Paul Arthur
cad1380737 Move duplicate searching from Catalog to Song
Catalog::get_duplicate_songs() -> Song::find_duplicates()
Catalog::get_duplicate_info() -> Song::get_duplicate_info()
2013-01-25 20:49:16 -05:00
Paul Arthur
16c3ba34fd Cosmetics: clean up heads in lib/ 2013-01-25 18:38:22 -05:00
Paul Arthur
9340ff287c Rework transcoding
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.
2013-01-23 13:11:16 -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
bd7bf80aae FS#249 - SQL error for iAmpache client
Add a sanity check before we attempt to execute the SQL statement
2012-09-20 11:22:48 -04:00
Paul Arthur
de300b2c16 Cosmetics: Song::build_cache 2012-09-20 11:22:42 -04:00
Paul Arthur
512f77a70c Support setting a custom format for the rss feed 2012-04-13 17:59:16 -04:00
Paul Arthur
b5965d2513 Add Art cache to the caches built by Song::build_cache 2012-03-01 12:48:11 -05:00
lotan_rm
500b6cbdb3 Avoid unnecessary work in Song::play_url
The only thing we're using that's set by format() is f_artist_full,
which is exactly the same as what's returned by get_artist_name().
2012-03-01 12:45:20 -05:00
Paul Arthur
edd458690d Remove unused metadata functions from Song class 2011-05-03 00:04:30 -04:00
Paul Arthur
073ea584dc Fix forced transcoding. FS#163 2011-04-21 19:36:27 -04:00
Paul Arthur
a273b0e566 Set the correct variable. 2011-04-11 00:52:37 -04:00
Paul Arthur
f7c1e57cf0 Transcoding/streaming cleanup.
Derive our new filesize from the length, not the previous bitrate and
size.  Allow higher bitrates than the source when they're different
formats.  Return HTTP error codes when an error occurs.  Minor cleanup.
2011-04-08 23:26:21 -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
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
63031fb6c1 Use a function to format bytes -> human-readable sizes. Also bump catalog build
memory profiling logging to level 5; fixes FS#141.
2010-10-15 19:16:42 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Paul 'flowerysong' Arthur
4b4728f0ac Pad track number with zeros, like the doc says. Fixes FS#58, reported by Adam Grissom. 2010-04-15 21:23:41 +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
0add7e2d0c Fix recently played, > where it should have been >= 2010-02-23 03:13:36 +00:00
Karl 'vollmerk' Vollmer
8bc17dd3f0 Tweaked how features / bandwidth level is checked, not happy with it. 2010-02-14 00:56:07 +00:00
martian
1b35c20dd0 Adding the bandwidth option to the preferences. This changes the complexity of the UI and toggles album art. 2010-02-09 17:44:44 +00:00
Karl 'vollmerk' Vollmer
4c4c945d30 Remove Dba::query from a few more classes 2009-12-14 03:17:14 +00:00
Karl 'vollmerk' Vollmer
94f5610ef6 add MBID support Thx flowerysong 2009-06-02 01:42:55 +00:00
Karl 'vollmerk' Vollmer
02f8bb52fd fix url to song, and throw some non-working tag cloud crap in 2009-05-19 22:47:49 +00:00
Karl 'vollmerk' Vollmer
184a030cb6 make the parse_song_url a little cleaner, see if that straitens her up untested 2009-05-13 01:46:38 +00:00
Karl 'vollmerk' Vollmer
c93613813d sync stats fix from 3.5 branch 2009-05-06 21:00:42 +00:00
Karl 'vollmerk' Vollmer
d3728b89e0 tweaked fix for rss feed, makes it a little cleaner, fix custom port issue add debug event on unreadable, but still existing files 2009-04-13 15:45:00 +00:00
Karl 'vollmerk' Vollmer
9826f64643 fixed recently played songs having incorrect information on non-unique entries #420 2009-03-29 12:03:52 +00:00