summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocs/CHANGELOG1
-rw-r--r--image.php1
-rw-r--r--modules/getid3/module.tag.id3v2.php1
-rw-r--r--templates/show_random_albums.inc.php2
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
diff --git a/image.php b/image.php
index f00603b8..f15739fc 100644
--- a/image.php
+++ b/image.php
@@ -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&amp;album=<?php echo $album_id; ?>">
<?php if (Config::get('show_album_art')) { ?>
- <img src="<?php echo $web_path; ?>/image.php?thumb=3&amp;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&amp;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 } ?>