Index: Plugins/iTunes.pm =================================================================== --- Plugins/iTunes.pm (revision 3633) +++ Plugins/iTunes.pm (working copy) @@ -204,9 +204,19 @@ # what we want. That needs to be set when we're really done scanning. checker($initialized); + setPodcasts(); + return 1; } +sub setPodcasts { + my $ds = Slim::Music::Info::getCurrentDataStore(); + my $podcast = $ds->find('playlist', { + 'url' => [ qw(itunesplaylist:podcasts*) ], + },); + Slim::Web::Pages::addLinks("browse",{'ITUNES_PODCASTS' => "browsedb.html?hierarchy=playlist,playlistTrack&level=1&playlist=".@$podcast[0]->id()}); +} + # This will be called when wipeDB is run - we always want to rescan at that point. sub resetState { @@ -542,6 +552,8 @@ $lastITunesMusicLibraryDate = $mtime; + setPodcasts(); + if ($::d_itunes) { msgf("iTunes: scan completed in %d seconds.\n", (time() - $iTunesScanStartTime)); } @@ -1255,7 +1267,10 @@ } sub strings { - return ''; + return ' +ITUNES_PODCASTS + EN iTunes Podcasts + '; } 1;