1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Merge pull request #1399 from tdeuling/develop

Make song comment editable
This commit is contained in:
Afterster 2016-10-18 07:10:04 +02:00 committed by GitHub
commit 19aabc5aef
2 changed files with 5 additions and 0 deletions

View file

@ -2038,6 +2038,7 @@ class Song extends database_object implements media, library_item
$meta['time'] = $this->time; $meta['time'] = $this->time;
$meta['mime'] = $this->mime; $meta['mime'] = $this->mime;
$meta['title'] = $this->title; $meta['title'] = $this->title;
$meta['comment'] = $this->comment;
$meta['album'] = $this->f_album_full; $meta['album'] = $this->f_album_full;
$meta['artist'] = $this->f_artist_full; $meta['artist'] = $this->f_artist_full;
$meta['band'] = $meta['albumartist'] = $this->f_albumartist_full; $meta['band'] = $meta['albumartist'] = $this->f_albumartist_full;

View file

@ -72,6 +72,10 @@
<tr> <tr>
<td class="edit_dialog_content_header"><?php echo T_('Composer') ?></td> <td class="edit_dialog_content_header"><?php echo T_('Composer') ?></td>
<td><input type="text" name="composer" value="<?php echo scrub_out($libitem->composer); ?>" /></td> <td><input type="text" name="composer" value="<?php echo scrub_out($libitem->composer); ?>" /></td>
</tr>
<tr>
<td class="edit_dialog_content_header"><?php echo T_('Comment') ?></td>
<td><input type="text" name="comment" value="<?php echo scrub_out($libitem->comment); ?>" /></td>
</tr> </tr>
<tr> <tr>
<td class="edit_dialog_content_header"><?php echo T_('Label') ?></td> <td class="edit_dialog_content_header"><?php echo T_('Label') ?></td>