-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
play_url start and stop any video #99
Comments
Can you try if this one works: |
Oh, also please try removing ,0 at the end. It might work and I might have broken something without realizing it. |
Traceback (most recent call last): |
def play_url(self, url, position=0): So, as it is broken url I've tried to custom url, and it was working. But I've checked what is get from your url param. It was always 0. Thank you very much for your help, but I think U should fix it. |
Humm, this is weird. The method you should look at is the one in interface,py, the one you listed is from the internal implementation which is not what atvremote is calling. Can you paste something that does work including your CLI arguments? |
I just checked I thought that this is not true and indicated this manually. bash-3.2$ atvremote -a --airplay_credentials EE109CBFE1CFE549:1E88A3CC55584CFF2DE7DB4463A2C8E34F81B0FBC843275B65329FB413CA2F11 play_url=http://171.25.232.20:8080/api/v1/stream/7APGKT890RFDK5tGByECRGDaSgjmaQ/hls/index.m3u8,0 I tried differently. But always there was a result of 0. |
Did you try without ,0 at the end? |
yes I try and error TypeError: play_url() missing 1 required positional argument: 'url' |
If it helps at all, I have discovered that adding "0," then the url you want to play solves the problem. Possibly related to the function being defined with "self" in play_url(self, url, **kwargs). Though I'm not great with python so that may break something else. But I've had this issue with other things I've written in python too. I thought I was doing something wrong then saw someone append a |
I found the problem to be an optional argument which was a problem due to the generic argument passing I use ( |
Thank you so much. Your code is excellent. Thanks for your work. |
I tried both avi and mp4 and still get the same
DEBUG: media playback ended
I see how the player appears on the download screen and then interrupts.
The text was updated successfully, but these errors were encountered: