| 1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
|---|
| 2 | ## 41_fix_live_delete.dpatch by <mrussotto@speakeasy.net> |
|---|
| 3 | ## |
|---|
| 4 | ## All lines beginning with `## DP:' are a description of the patch. |
|---|
| 5 | ## DP: No description. |
|---|
| 6 | |
|---|
| 7 | @DPATCH@ |
|---|
| 8 | diff -urNad mythtv-0.22.0+fixes22594~/programs/mythfrontend/playbackbox.cpp mythtv-0.22.0+fixes22594/programs/mythfrontend/playbackbox.cpp |
|---|
| 9 | --- mythtv-0.22.0+fixes22594~/programs/mythfrontend/playbackbox.cpp 2009-10-23 21:58:54.000000000 -0400 |
|---|
| 10 | +++ mythtv-0.22.0+fixes22594/programs/mythfrontend/playbackbox.cpp 2009-12-20 23:55:08.000000000 -0500 |
|---|
| 11 | @@ -3143,9 +3143,10 @@ |
|---|
| 12 | ProgramList::iterator it; |
|---|
| 13 | ProgramList::iterator end; |
|---|
| 14 | |
|---|
| 15 | - if (pginfo->recgroup == "LiveTV") |
|---|
| 16 | + if (pginfo->recgroup == "LiveTV" && m_recGroup != "LiveTV") |
|---|
| 17 | { |
|---|
| 18 | // LiveTV ProgramInfo's are not in the aggregated list |
|---|
| 19 | + // unless LiveTV is the currently selected group |
|---|
| 20 | it = m_progLists[tr("LiveTV").toLower()].begin(); |
|---|
| 21 | end = m_progLists[tr("LiveTV").toLower()].end(); |
|---|
| 22 | } |
|---|