Maybe time to update CPAN HTML::Formatter to the current version?

Just dropping in the current version of Formatter.pm from:

http://cpansearch.perl.org/src/NIGELM/HTML-Format-2.12/lib/HTML/Formatter.pm

..fixes the compilation error.  Here's the MusicArtistInfo debug log
entries for a "successful" load of one of my bio.html files using
Formatter.pm v2.12:


Code:
--------------------
    
  [16-06-27 09:41:48.6881] Plugins::MusicArtistInfo::ArtistInfo::getArtistMenu 
(84) Getting artist menu for Rore, C
  [16-06-27 09:41:48.6894] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(23) Cleaning up album name: 'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:48.6899] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(38) Album name cleaned up:  'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:48.6903] Plugins::MusicArtistInfo::AlbumInfo::getAlbumMenu 
(62) Getting album menu for Passio Domini Nostri Jesu Christi Secundum Johannem 
- Huelgas-Ensemble, Paul Van Nevel by Rore, C
  [16-06-27 09:41:52.8095] Plugins::MusicArtistInfo::ArtistInfo::getArtistMenu 
(84) Getting artist menu for Rore, C
  [16-06-27 09:41:52.8106] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(23) Cleaning up album name: 'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:52.8112] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(38) Album name cleaned up:  'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:52.8115] Plugins::MusicArtistInfo::AlbumInfo::getAlbumMenu 
(62) Getting album menu for Passio Domini Nostri Jesu Christi Secundum Johannem 
- Huelgas-Ensemble, Paul Van Nevel by Rore, C
  [16-06-27 09:41:55.2987] Plugins::MusicArtistInfo::ArtistInfo::getArtistMenu 
(84) Getting artist menu for Rore, C
  [16-06-27 09:41:55.2998] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(23) Cleaning up album name: 'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:55.3003] Plugins::MusicArtistInfo::Common::cleanupAlbumName 
(38) Album name cleaned up:  'Passio Domini Nostri Jesu Christi Secundum 
Johannem - Huelgas-Ensemble, Paul Van Nevel'
  [16-06-27 09:41:55.3006] Plugins::MusicArtistInfo::AlbumInfo::getAlbumMenu 
(62) Getting album menu for Passio Domini Nostri Jesu Christi Secundum Johannem 
- Huelgas-Ensemble, Paul Van Nevel by Rore, C
  [16-06-27 09:41:55.3950] 
Plugins::MusicArtistInfo::LocalFile::_getInfoFileForTrack (150) Found biography 
on local file system: /mnt/Media/Music/b_Renaissance/Gabrieli, G/bio.html
  
--------------------

No idea if that version of Formatter.pm is compatible with older
versions of perl, though.

There's still the issue of MusicArtistInfo selecting the totally wrong
bio.html file.  See the above log entries.  The file that *should* have
been displayed should have been:

"/mnt/Media/Music/b_Renaissance/Rore, C/bio.html"

Instead, MusicArtistInfo elected to display:

"/mnt/Media/Music/b_Renaissance/Gabrieli, G/bio.html"

..even though Giovanni Gabrieli is not contributor in any role to that
track or album.

Is there an easy way to get from LMS the file path to the currently
playing track and check that directory (and its parent) first?  I'm
assuming that most LMS users have track-per-file libraries and that bio
files would normally be placed in the parent directory of the current
track.  With album-per-file libraries (i.e. FLACs with embedded
cuesheets) the bio file would most likely be in the same directory as
the "track".


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to