Skip to content

Commit

Permalink
Frontend Status: Add external subtitles to the track list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Nov 23, 2011
1 parent f532eeb commit a92bb6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -1404,6 +1404,8 @@ void TV::GetStatus(void)
list = ctx->player->GetTracks(kTrackTypeRawText);
for (int i = 0; i < list.size(); i++)
tracks.insert("SELECTRAWTEXT_" + QString::number(i), list[i]);
if (ctx->player->HasTextSubtitles())
tracks.insert(ACTION_ENABLEEXTTEXT, tr("External Subtitles"));

status.insert("totalsubtitletracks", tracks.size());
if (!tracks.isEmpty())
Expand Down

0 comments on commit a92bb6d

Please sign in to comment.