diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-08-19 15:03:29 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-08-19 15:03:29 +0000 |
commit | 698a737b12495d68e72b9b258b8ddc8f2c1ee7da (patch) | |
tree | cab7803d7131e70d97be7c3b3762e748f9178fa4 | |
parent | 584e7e5cd235c0f6d01b4d1ccb9c7d3333c06553 (diff) | |
download | ampache-698a737b12495d68e72b9b258b8ddc8f2c1ee7da.tar.gz ampache-698a737b12495d68e72b9b258b8ddc8f2c1ee7da.tar.bz2 ampache-698a737b12495d68e72b9b258b8ddc8f2c1ee7da.zip |
add TDRC to id3v2 tag reading Closes #530
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | image.php | 1 | ||||
-rw-r--r-- | modules/getid3/module.tag.id3v2.php | 1 | ||||
-rw-r--r-- | templates/show_random_albums.inc.php | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 55a8a41f..71cf9bca 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.6-Alpha1 + - Add TDRC to list of parsed id3v2 tags - Added the rating to a single song view - Fix caching issue when updating ratings where they would not display correctly until a page reload @@ -29,6 +29,7 @@ // this needs to be done a little better, but for now... eah define('NO_SESSION','1'); require 'lib/init.php'; +exit; // Check to see if they've got an interface session or a valid API session, if not GTFO if (!vauth::session_exists('interface',$_COOKIE[Config::get('session_name')]) AND !vauth::session_exists('api',$_REQUEST['auth']) AND !vauth::session_exists('xml-rpc',$_REQUEST['auth'])) { diff --git a/modules/getid3/module.tag.id3v2.php b/modules/getid3/module.tag.id3v2.php index b5d5245a..583949f7 100644 --- a/modules/getid3/module.tag.id3v2.php +++ b/modules/getid3/module.tag.id3v2.php @@ -3126,6 +3126,7 @@ class getid3_id3v2 extends getid3_handler 'TCON' => 'genre', 'TCOP' => 'copyright', 'TCR' => 'copyright', + 'TDRC' => 'recording_time', 'TEN' => 'encoded_by', 'TENC' => 'encoded_by', 'TEXT' => 'lyricist', diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php index a262a4a1..210ed163 100644 --- a/templates/show_random_albums.inc.php +++ b/templates/show_random_albums.inc.php @@ -33,7 +33,7 @@ $button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'), <div class="random_album"> <a href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $album_id; ?>"> <?php if (Config::get('show_album_art')) { ?> - <img src="<?php echo $web_path; ?>/image.php?thumb=3&id=<?php echo $album_id; ?>" width="80" height="80" alt="<?php echo $name; ?>" title="<?php echo $name; ?>" /> + <img src="<?php echo $web_path; ?>/image.php?&sid=<?php echo session_id(); ?>&thumb=3&id=<?php echo $album_id; ?>" width="80" height="80" alt="<?php echo $name; ?>" title="<?php echo $name; ?>" /> <?php } else { ?> <?php echo '[' . $album->f_artist . '] ' . $album->f_name; ?> <?php } ?> |