Compare commits

...

7 Commits

Author SHA1 Message Date
David
cece0242c4 Merge pull request #64 from JoshCooley/fix-segment-uuid-concatenation
Fix segment UUID concatenation
2023-10-14 10:24:27 +02:00
David
b069487bd6 Merge pull request #62 from jtokoph/patch-1
Update Playstation Status in README.md
2023-10-14 10:01:48 +02:00
David
d4f9380eff Merge pull request #59 from nickgal/patch-1
README.md typo
2023-10-14 10:00:53 +02:00
Josh Cooley
245300d064 Fix segment UUID concatenation 2023-10-14 00:03:35 -05:00
Jason Tokoph
b9e010af9b Update Playstation Status in README.md
I have tested this with the Youtube app on my Playstation 5 and can confirm that it correctly skips sponsorblock segments.
2023-10-13 20:17:04 -07:00
Nick Gal
bd0deec85e README.md typo 2023-10-13 17:54:14 -07:00
dmunozv04
d0846b7d2c Fix #58 2023-10-13 21:28:23 +02:00
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ Check the [wiki](https://github.com/dmunozv04/iSponsorBlockTV/wiki/Installation)
Warning: docker armv7 builds have been deprecated. Amd64 and arm64 builds are still available.
## Compatibility
Leyend: ✅ = Working, ❌ = Not working, ❔ = Not tested
Legend: ✅ = Working, ❌ = Not working, ❔ = Not tested
Open an issue/pull request if you have tested a device that isn't listed here.
@@ -24,7 +24,7 @@ Open an issue/pull request if you have tested a device that isn't listed here.
| Fire TV | ❔ |
| Nintendo Switch | ✅ |
| Xbox One/Series | ❔ |
| Playstation 4/5 | |
| Playstation 4/5 | |
## Usage
Run iSponsorBlockTV on a computer that has network access.

View File

@@ -138,7 +138,7 @@ class ApiHelper:
segment_dict["start"] - segment_before_end < 1
): # Less than 1 second appart, combine them and skip them together
segment_dict["start"] = segment_before_start
segment_dict["UUID"].append(segment_before_UUID)
segment_dict["UUID"].extend(segment_before_UUID)
segments.pop()
segments.append(segment_dict)
except Exception:

View File

@@ -226,12 +226,12 @@ class AddDevice(ModalWithClickExit):
@on(Input.Changed, "#pairing-code-input")
def changed_pairing_code(self, event: Input.Changed):
self.query_one("#add-device-button").disabled = not event.validation_result.is_valid
self.query_one("#add-device-pin-add-button").disabled = not event.validation_result.is_valid
@on(Input.Submitted, "#pairing-code-input")
@on(Button.Pressed, "#add-device-pin-add-button")
async def handle_add_device_pin(self) -> None:
self.query_one("#add-device-button").disabled = True
self.query_one("#add-device-pin-add-button").disabled = True
lounge_controller = ytlounge.YtLoungeApi("iSponsorBlockTV")
pairing_code = self.query_one("#pairing-code-input").value
pairing_code = int(pairing_code.replace("-", "").replace(" ", "")) # remove dashes and spaces
@@ -253,7 +253,7 @@ class AddDevice(ModalWithClickExit):
self.dismiss([device])
else:
self.query_one("#pairing-code-input").value = ""
self.query_one("#add-device-button").disabled = False
self.query_one("#add-device-pin-add-button").disabled = False
self.query_one("#add-device-info").update("[#ff0000]Failed to add device")
@on(Button.Pressed, "#add-device-dial-add-button")