alexeichhorn / YouTubeKit

YouTube video and audio extractor for iOS, watchOS, visionOS, tvOS and macOS
MIT License
193 stars 41 forks source link

alert "content is not available on this app." #37

Closed hileo closed 6 months ago

hileo commented 6 months ago

Hello, it doesn't seem to be working properly now with this message “The following content is not available on this app. Watch this content on the latest version of YouTube”

IMG_5218

What can I do to solve this problem?

sycode commented 6 months ago

Same problem.

joaodordio commented 6 months ago

@hileo can you share the stream you're trying to play?

sycode commented 6 months ago

It seems that the problem was occurring with other libraries as well. https://github.com/anxdpanic/plugin.video.youtube/issues/663

alexeichhorn commented 6 months ago

Could replicate it with some quite new videos. Have a fix in mind and will implement it in the coming days. Thanks guys

alexeichhorn commented 6 months ago

@hileo @sycode It should be fixed in the main branch. Can you maybe test it with your videos and report back?

sycode commented 6 months ago

@hileo @sycode It should be fixed in the main branch. Can you maybe test it with your videos and report back?

That's excellent! Played successfully. Thank you for your support!

manchan commented 6 months ago

still having problems.

finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=VGKrQu3ERgY, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=VGKrQu3ERgY, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalWebSocketTask <6145204D-EB9B-417D-9636-EA638D57E740>.<18>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <6145204D-EB9B-417D-9636-EA638D57E740>.<18>}
hileo commented 6 months ago

@hileo @sycode It should be fixed in the main branch. Can you maybe test it with your videos and report back?

Succeeded. Thank you for your support.

alexeichhorn commented 6 months ago

still having problems.

finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=VGKrQu3ERgY, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=VGKrQu3ERgY, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalWebSocketTask <6145204D-EB9B-417D-9636-EA638D57E740>.<18>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <6145204D-EB9B-417D-9636-EA638D57E740>.<18>}

That's completely unrelated. See #34. If this occurs all the time, then open a separate issue

manchan commented 6 months ago

@alexeichhorn I created the issue because it is a problem that happens all the time. Please check it out. #40