Skip to content
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

Mobile issues #7

Open
eithe opened this issue May 31, 2013 · 27 comments
Open

Mobile issues #7

eithe opened this issue May 31, 2013 · 27 comments

Comments

@eithe
Copy link
Owner

eithe commented May 31, 2013

Seems to be some issues on Android, possibly also IOS. Must look into ...

  • Works on iphone and ipad
  • Works on ROKU
  • Does not work on OUYA (android)
@burnbay
Copy link
Collaborator

burnbay commented May 31, 2013

Works on my iphone and iPad. Haven't tried android.

@burnbay burnbay closed this as completed May 31, 2013
@burnbay burnbay reopened this May 31, 2013
@eithe
Copy link
Owner Author

eithe commented May 31, 2013

Ok, good to know. Mixed results on Android here, but haven't looked into why yet.

@eithe
Copy link
Owner Author

eithe commented Nov 24, 2013

Just a note: Current live tv does not work on Android (latest plexpass) (PS: works on Plex/Web and PHT)

@eithe eithe mentioned this issue Nov 25, 2013
@burnbay
Copy link
Collaborator

burnbay commented Nov 26, 2013

Can you give it a try on Android now?

@burnbay
Copy link
Collaborator

burnbay commented Nov 26, 2013

Tried Roku and OUYA. Doesn't work

@eithe
Copy link
Owner Author

eithe commented Nov 26, 2013

Yeah, no go on Android either, but I'm at work so didnt look at logs etc. Anyway, I think we are on the right track with the way you did it now, really nice idea and code!

@eithe
Copy link
Owner Author

eithe commented Nov 26, 2013

On Mac PHT and Android, http://v7.psapi.nrk.no/mediaelement/nrk1 gives mediaUrl http://nrk1us-f.akamaihd.net/z/nrk1us_0@102847/manifest.f4m?ma=on which only gives me 403 Forbidden whatever user-agent I try to set in my browser ..

2013-11-26 12:11:21,256 (10b551000) : DEBUG (networking:172) - Requesting 'http://v7.psapi.nrk.no/mediaelement/nrk1'
2013-11-26 12:11:21,583 (10b551000) : DEBUG (ServiceCode:91) - CLIENT: Plex Home Theater, USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10
2013-11-26 12:11:21,613 (10b551000) : DEBUG (networking:172) - Requesting 'http://nrk1us-f.akamaihd.net/z/nrk1us_0@102847/manifest.f4m?ma=on'
2013-11-26 12:11:21,698 (10b551000) : ERROR (networking:219) - Error opening URL 'http://nrk1us-f.akamaihd.net/z/nrk1us_0@102847/manifest.f4m?ma=on'
...
HTTPError: HTTP Error 403: Forbidden

@eithe
Copy link
Owner Author

eithe commented Nov 26, 2013

@johnkors ?

@johnkors
Copy link

When asking mediaelement/nrk, you are asking getting the live stream in return and I think there was work done on adding some sort of encryption to it earlier this fall due to some external demands (not NRK). Have you tried an ondemand program? Does that work?

For instance: http://v7.psapi.nrk.no/mediaelement/koid28006011
(related to this program: http://tv.nrk.no/serie/irak-krigen/koid28006011/sesong-1/episode-3 )

@burnbay
Copy link
Collaborator

burnbay commented Nov 26, 2013

The live stream is working for iphone/ipad. We're only getting errors using
other clients (Roku, OUYA, android, Plex Home Theater). Ondemand programs
work (at least on the clients I have tested). Ooh! the web client doesn't
work, but that's a plugin issue I think.

Erling

On Tue, Nov 26, 2013 at 2:30 PM, John Korsnes notifications@github.comwrote:

When asking mediaelement/nrk, you are asking getting the live stream in
return and I think there was work done on adding some sort of encryption to
it earlier this fall due to some external demands (not NRK). Have you tried
an ondemand program? Does that work?

For instance: http://v7.psapi.nrk.no/mediaelement/koid28006011
(related to this program:
http://tv.nrk.no/serie/irak-krigen/koid28006011/sesong-1/episode-3 )


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-29291951
.

Erling Brandvik
+4790851110

@eithe
Copy link
Owner Author

eithe commented Nov 26, 2013

If you by web client mean the Plex/Web client, I do believe it worked before the latest commit.

@burnbay
Copy link
Collaborator

burnbay commented Nov 26, 2013

OK, I'll have a look.

tirsdag 26. november 2013 skrev Eirik H følgende:

If you by web client mean the Plex/Web client, I do believe it worked
before the latest commit.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-29339329
.

Erling Brandvik
+4790851110

@johnkors
Copy link

For Android, the API returns a mediaURL that redirects the user to NRKs native apps on Android.

http://tv.nrk.no/androidapp?url=

If you're targeting higher versions of Android, I think they might support HLS as well - so you might get it to work by using a user-agent generating HLS-streams instead?

As we don't support any of the other clients you just listed, I'm not sure what the API returns nor what kind of streams they are able to play.

@eithe
Copy link
Owner Author

eithe commented Dec 13, 2013

Note to self: Do not send android client user agent to NRK when Android client, let Plex handle some transcoding instead.

@jannyg
Copy link

jannyg commented Jan 6, 2014

I can't get the latest revision to play anything from the library on my Minix X5 with Android 4.2.2. I just get the error "Can't play video" and i can't see anything relevant in the plugin log so I guess the Plex client don't like the videoformat or something.

@eithe
Copy link
Owner Author

eithe commented Jan 6, 2014

Yeah, no go on Android yet, @thinktwo, hence this issue. Indeed probably an issue with the video format. Also, for Android NRK actually redirects to the NRK app so we need to send a different user agent than Android and make Plex Media Server transcode it I believe (or send a user agent to NRK that generates HLS streams and see if Android will play it).

@jannyg
Copy link

jannyg commented Jan 6, 2014

Just wanted to confirm the issue as there seemed to be some unclarity :) I'm new to Plex, but the NRK plugin for XBMC worked flawlessy on the same device (without NRK native app). I know there's no transcoding done there, but maybe it could be useful to check how they solved it anyway?

@meriko
Copy link

meriko commented Jan 22, 2014

The Android client requires that "video_resolution" is set in the returned MediaObject(even though it is HLS, any resolution will do), see https://github.com/plexinc-plugins/ViasatPlay.bundle/pull/6

This might not be the only issue though ...

@eithe
Copy link
Owner Author

eithe commented Jan 28, 2014

@meriko Do you see any obvious faults in the way @burnbay has tried to implement your solution both with regards to video_resolution and the https issue on various clients? c41bc66#commitcomment-5196028

@burnbay
Copy link
Collaborator

burnbay commented Feb 12, 2014

Got it working on iOS, PHT (Windows), Roku and OUYA. Maybe we can close this one now. Feel free to test

@burnbay burnbay closed this as completed Feb 12, 2014
@burnbay burnbay reopened this Feb 12, 2014
@eithe
Copy link
Owner Author

eithe commented Feb 12, 2014

I've also asked the community to test on as many setups as they can: https://forums.plex.tv/index.php/topic/47234-the-new-nrk-site/page-2#entry578126

@burnbay
Copy link
Collaborator

burnbay commented Feb 12, 2014

OK, good!

I'm not committing anything more until we get it more tested.

On Wed, Feb 12, 2014 at 9:48 PM, Eirik H notifications@github.com wrote:

I've also asked the community to test on as many setups as they can:
https://forums.plex.tv/index.php/topic/47234-the-new-nrk-site/page-2#entry578126

Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-34915964
.

Erling Brandvik
+4790851110

@eithe
Copy link
Owner Author

eithe commented Feb 24, 2014

Closing, it really does seem to work now, good job, @burnbay!

@eithe eithe closed this as completed Feb 24, 2014
@krsandvik
Copy link

When I try to watch live tv the stream stops after 30 - 40 seconds. I am using a nexus 5 same problem when I cast to chromecast

@burnbay
Copy link
Collaborator

burnbay commented Feb 26, 2014

Same here on OUYA the first time I start a live stream. The second and
third time everything is OK. Noticed a bug: The "progress wheel" keeps
spinning after the stream has started.

Den onsdag 26. februar 2014 skrev krsandvik notifications@github.com
følgende:

When I try to watch live tv the stream stops after 30 - 40 seconds. I am
using a nexus 5 same problem when I cast to chromecast

Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-36129372
.

Erling Brandvik
+4790851110

@eithe eithe reopened this Mar 4, 2014
@burnbay
Copy link
Collaborator

burnbay commented Nov 21, 2014

@johnkors Hei. Ser det har skjedd spennende ting på API-fronten (http://v8.psapi.nrk.no/), men ser man må ha en key for å kunne aksessere. Har dere diskutert om å gi tilgang til eksterne? Spesielt til ihuga PLEX plugin-utviklere? ;)

@johnkors
Copy link

Det er ikke så mye nytt å melde dessverre, dette er endepunkter som fantes i v7 også, men er bak API-nøkler (fortsatt). Jeg kan videreformidle ønsket om aksess, men kan ikke love noe dessverre :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants