Skip to content

Commit

Permalink
Expand the range of the season and episode spinboxes for recordings.
Browse files Browse the repository at this point in the history
A very small number of shows have season = year, and some have serialized order of neverending episodes.

This should handle those few cases.
  • Loading branch information
Robert McNamara committed Jul 21, 2011
1 parent 142682b commit 021a94a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -5115,9 +5115,9 @@ bool RecMetadataEdit::Create()
}
m_inetrefEdit->SetText(m_progInfo->GetInetRef());
m_inetrefEdit->SetMaxLength(255);
m_seasonSpin->SetRange(0,100,1,1);
m_seasonSpin->SetRange(0,9999,1,1);
m_seasonSpin->SetValue(m_progInfo->GetSeason());
m_episodeSpin->SetRange(0,999,1,1);
m_episodeSpin->SetRange(0,9999,1,1);
m_episodeSpin->SetValue(m_progInfo->GetEpisode());

connect(okButton, SIGNAL(Clicked()), SLOT(SaveChanges()));
Expand Down
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/scheduleeditor.cpp
Expand Up @@ -1408,11 +1408,11 @@ bool MetadataOptions::Create()
m_inetrefEdit->SetText(m_recordingRule->m_inetref);

// Season
m_seasonSpin->SetRange(0,100,1,1);
m_seasonSpin->SetRange(0,9999,1,1);
m_seasonSpin->SetValue(m_recordingRule->m_season);

// Episode
m_episodeSpin->SetRange(0,100,1,1);
m_episodeSpin->SetRange(0,9999,1,1);
m_episodeSpin->SetValue(m_recordingRule->m_episode);

if (m_coverart)
Expand Down

0 comments on commit 021a94a

Please sign in to comment.