Multichannel sound, a "new" approach?

@markus101 Thanks for the clarification on the monitored logic.

Yeah, i did check the dev tools when togglign the monitored flag. The problem is that the ID it toggles (8845) isnt the same as the episode id from the request. (8727)… Must be missing a translation again here or something?

Edit: Groooooaaaaaaaan… Sooooo for testing purposes i MIGHT just have hardcoded a variable… whistle whistle

1 Like

@markus101 Just reaching out to say “thank you”. It now works as it seem. The code is fugly as it is more or less the second thing i have ever coded in Python … But, it works :wink:

2020-03-16 02:52:41,425 INFO Found Grabbed event and sent failed/blacklist request for id=7654
2020-03-16 02:52:41,507 DEBUG Requesting: http://172.25.74.9:8989/api/v3/history/failed
2020-03-16 02:52:41,507 INFO Deleting episodeFileId=8899
2020-03-16 02:52:41,741 DEBUG Requesting: http://172.25.74.9:8989/api/v3/episodeFile/8899/
2020-03-16 02:52:41,741 INFO Setting monitored flag for Id=7654
2020-03-16 02:52:41,742 DEBUG Data for monitor request: {}
2020-03-16 02:52:41,775 DEBUG Requesting: http://172.25.74.9:8989/api/v3/episode/8846
2020-03-16 02:52:41,775 INFO Searching for Id=8846
2020-03-16 02:52:41,782 DEBUG Requesting: http://172.25.74.9:8989/api/v3/command/
2020-03-16 19:13:44,330 INFO Starting up
2020-03-16 19:13:44,330 INFO Initializing live run
2020-03-16 19:13:44,330 INFO Handling run for The Walking Dead S10E12
2020-03-16 19:13:44,330 INFO Obtaining audioChannels for episodeFile: 8904
2020-03-16 19:13:44,365 INFO Episode 8904 has multichannel audio. All is well.

1 Like

…something you’d be willing to share? :slight_smile:

@Thirrian I was hoping nobody would ask… The code is atrocious… :smiley: I chose Python as i need to “make friends with python” for my current employment. I have never really used it before.

But, ok… https://pastebin.com/EYVJ8mgL

Yes, i know it will break horribly if the download contains multiple episodes etc…

1 Like

Don’t sell yourself short, if it does what you need it to do…
I was mostly interested in the logic, I tried to follow along in the thread, but piecing together versus seeing the code is a whole other beast. I’m not a developer myself, but I dabble, and this looked like something I’d want to implement too.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.