Skip to content

Commit

Permalink
Merge pull request webosbrew#170 from throwaway96/fix-sampatcher-2024…
Browse files Browse the repository at this point in the history
…0303

Fix service name in sampatcher.py
  • Loading branch information
throwaway96 authored Mar 3, 2024
2 parents 7eef384 + e83ee18 commit 385edf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion services/bin/sampatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys

TARGET_STRING = "luna://com.webos.service.sm/license/apps/getDrmStatus"
REPLACEMENT_STRING = "luna://tv.rootmy.hbchannel.service/getDrmStatus\0"
REPLACEMENT_STRING = "luna://org.webosbrew.hbchannel.service/getDrmStatus\0"

sam_pid = int(sys.argv[1])

Expand Down
2 changes: 2 additions & 0 deletions services/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@ function runService() {

/**
* Stub service that emulates luna://com.webos.service.sm/license/apps/getDrmStatus
*
* This is intended to work with sampatcher.py, but it is not currently used.
*/
type GetDrmStatusPayload = { appId: string };
service.register(
Expand Down

0 comments on commit 385edf9

Please sign in to comment.