Ticket #7407: netcontrol_play.patch
File netcontrol_play.patch, 1.8 KB (added by , 14 years ago) |
---|
-
programs/mythfrontend/playbackbox.cpp
3471 3471 3472 3472 if (tmpItem) 3473 3473 { 3474 m_recordingList->SetValueByData(qVariantFromValue(tmpItem));3475 3476 3474 QString msg = QString("NETWORK_CONTROL RESPONSE %1 OK") 3477 3475 .arg(clientID); 3478 3476 MythEvent me(msg); … … 3482 3480 tmpItem->setIgnoreBookmark(true); 3483 3481 3484 3482 m_underNetworkControl = true; 3485 play Selected(m_recordingList->GetItemCurrent());3483 play(tmpItem, false); 3486 3484 m_underNetworkControl = false; 3487 3485 } 3488 3486 else -
programs/mythfrontend/networkcontrol.cpp
618 618 619 619 QTime timer; 620 620 timer.start(); 621 while ((timer.elapsed() < 10000) &&621 while ((timer.elapsed() < 50000) && 622 622 (GetMythUI()->GetCurrentLocation().toLower() != "playbackbox")) 623 623 usleep(10000); 624 624 625 } 625 626 626 627 if (GetMythUI()->GetCurrentLocation().toLower() == "playbackbox") … … 633 634 .arg(action).arg(tokens[2]) 634 635 .arg(tokens[3].toUpper()).arg(clientID); 635 636 MythEvent me(message); 637 usleep(700000); 636 638 gContext->dispatch(me); 637 639 638 640 result.clear(); 641 return result; 639 642 } 640 643 else 641 644 {