From 4dd58ee4edbbfb2abf6af24ac3813915b81c33f4 Mon Sep 17 00:00:00 2001 From: Serh1o1 Date: Tue, 12 Mar 2024 14:00:13 +0200 Subject: [PATCH 1/3] Update RokuService.m --- Services/RokuService.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Services/RokuService.m b/Services/RokuService.m index 8dd36e9..50648d1 100644 --- a/Services/RokuService.m +++ b/Services/RokuService.m @@ -509,7 +509,7 @@ - (void) displayImageWithMediaInfo:(MediaInfo *)mediaInfo success:(MediaPlayerSu return; } - NSString *applicationPath = [NSString stringWithFormat:@"15985?t=p&u=%@&tr=crossfade", + NSString *applicationPath = [NSString stringWithFormat:@"15985?t=p&u=%@&h=%%20&k=%%20", [ConnectUtil urlEncode:imageURL.absoluteString] // content path ]; @@ -588,14 +588,14 @@ - (void) playMediaWithMediaInfo:(MediaInfo *)mediaInfo shouldLoop:(BOOL)shouldLo if (isVideo) { - applicationPath = [NSString stringWithFormat:@"15985?t=v&u=%@&k=(null)&videoName=%@&videoFormat=%@", + applicationPath = [NSString stringWithFormat:@"15985?t=v&u=%@&h=%%20&k=%%20", [ConnectUtil urlEncode:mediaURL.absoluteString], // content path title ? [ConnectUtil urlEncode:title] : @"(null)", // video name ensureString(mediaType) // video format ]; } else { - applicationPath = [NSString stringWithFormat:@"15985?t=a&u=%@&k=(null)&songname=%@&artistname=%@&songformat=%@&albumarturl=%@", + applicationPath = [NSString stringWithFormat:@"15985?t=a&u=%@&k=(null)&songname=%@&artistname=%@&songformat=%@&albumarturl=%@", [ConnectUtil urlEncode:mediaURL.absoluteString], // content path title ? [ConnectUtil urlEncode:title] : @"(null)", // song name description ? [ConnectUtil urlEncode:description] : @"(null)", // artist name From 92928a42a1ea4141e359888db51c51e558b33a15 Mon Sep 17 00:00:00 2001 From: Serh1o1 Date: Tue, 12 Mar 2024 14:53:28 +0200 Subject: [PATCH 2/3] Update WebOSTVServiceMouse.h --- Services/Helpers/WebOSTVServiceMouse.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Services/Helpers/WebOSTVServiceMouse.h b/Services/Helpers/WebOSTVServiceMouse.h index ecea9b0..5734b40 100644 --- a/Services/Helpers/WebOSTVServiceMouse.h +++ b/Services/Helpers/WebOSTVServiceMouse.h @@ -27,7 +27,12 @@ typedef enum { WebOSTVMouseButtonUp = 1002, WebOSTVMouseButtonDown = 1003, WebOSTVMouseButtonLeft = 1004, - WebOSTVMouseButtonRight = 1005 + WebOSTVMouseButtonRight = 1005, + WebOSTVMouseButtonEnter = 1006, + WebOSTVMouseButtonMenu = 1007, + WebOSTVMouseButtonInfo = 1008, + WebOSTVMouseButtonExit = 1009, + } WebOSTVMouseButton; @interface WebOSTVServiceMouse : NSObject From 586ef989667c041034e87a7087e667d6b6ee104a Mon Sep 17 00:00:00 2001 From: Serh1o1 Date: Tue, 12 Mar 2024 14:58:16 +0200 Subject: [PATCH 3/3] Update WebOSTVServiceMouse.m --- Services/Helpers/WebOSTVServiceMouse.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Services/Helpers/WebOSTVServiceMouse.m b/Services/Helpers/WebOSTVServiceMouse.m index e66a3ad..3b634e9 100644 --- a/Services/Helpers/WebOSTVServiceMouse.m +++ b/Services/Helpers/WebOSTVServiceMouse.m @@ -124,6 +124,11 @@ -(void) button:(WebOSTVMouseButton)keyName case WebOSTVMouseButtonDown: keyString = @"DOWN"; break; case WebOSTVMouseButtonLeft: keyString = @"LEFT"; break; case WebOSTVMouseButtonRight: keyString = @"RIGHT"; break; + case WebOSTVMouseButtonEnter : keyString = @"ENTER"; break; + case WebOSTVMouseButtonMenu : keyString = @"MENU"; break; + case WebOSTVMouseButtonInfo : keyString = @"INFO"; break; + case WebOSTVMouseButtonExit : keyString = @"EXIT"; break; + default:break; }