8000 MP3 Year / Date · Issue #78 · sverhagen/mp3-browser · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
MP3 Year / Date #78
Open
Open
@samhnky

Description

@samhnky

Is anyone able to provide guidance on how to add the ID3 Year/Date tag?
http://wheelersburgfaithbaptistchurch.com/connect/sermon-audio

I added the following code to the following file: content/mp3browser/html/HtmlNameColumn.php

  protected function getCellText($data, $isAlternate) {
       $html = $this->addItemAnchor($data);
       if ($data->getTitle()) {
           $title = $this->wrapAnchor($data, $data->getTitle());
           $html .= "<span style='font-size: .7em;'>Message Title:</span><strong>" . $title . "</strong>";
       }
       if ($data->getArtist()) {
           $artist = $this->wrapAnchor($data, $data->getArtist());
           $html .= "<br/><span style='font-size: .7em;'>Speaker:</span>" . $artist;
       }
        if ($data->getDate()) {
           $date = $this->wrapAnchor($data, $data->getDate());
           $html .= "<br/><span style='font-size: .7em;'>Date:</span>" . $date;
       }
       return $html;
   }

If I use $date I do not get an error, if I use Year I get an error,..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0