RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
597 stars 110 forks source link

Issue with changing channels. Channel will not play unless it is the first in the section, and only using the play button on left nav. #167

Open stevie1706 opened 7 years ago

stevie1706 commented 7 years ago

Guys, firstly, thank you for all the hard work on this project.

[Tell us about your issue, steps to reproduce, expected and actual behavior] [Always attempt to reproduce your issue in the default skin] [Enable debug logging in preferences and insert a link to your log-file]

OpenPHT: [version, skin and operating system] Latest 1.7.1 (released on 24th Nov PMS: win 10 - shared pms

T:28968 WARNING CPlexPlayQueueManager::getURIFromItem item plexserver doesnt have a secition UUID.

T:27428 DEBUG: CPlexDirectory::GetDirectory failed to fetch data from plexserver:///video/iptv/createvideoclipobject?container=True&thumb=URL.m3u8&summary=: 400

playlist is returned via a php file which contains .ts links.

g1t-dlanor commented 7 years ago

Have you tested that the same channel can be accessed from another Plex client (Plex/Web in Browser, or some Android or iOS Plex client) logged in to the same user account that you used for OpenPHT ? If such access does work, then it indicates a problem unique to OpenPHT, but otherwise it indicates that the problem may be caused by PMS or the channel itself. I have tried to replicate your issue here, using both Win7 and Win10 computers, but have not been able to do so yet, though this may be because my test setup is not quite like yours, accessing my own PMS rather than a shared PMS. I'll try to set up a shared PMS test next.

stevie1706 commented 7 years ago

Hi,

Yes it works ok on other plex clients just open pht and pht for PC.

If I can do anything let me know, appreciate your effort in trying to fix this.

Thanks again

From: Ulf Ronald Andersson [mailto:notifications@github.com] Sent: 26 November 2016 22:55 To: RasPlex/OpenPHT OpenPHT@noreply.github.com Cc: stevie1706 steven.culshaw@outlook.com; Author author@noreply.github.com Subject: Re: [RasPlex/OpenPHT] Issue with changing channels. Channel will not play unless it is the first in the section, and only using the play button on left nav. (#167)

Have you tested that the same channel can be accessed from another Plex client (Plex/Web in Browser, or some Android or iOS Plex client) logged in to the same user account that you used for OpenPHT ? If such access does work, then it indicates a problem unique to OpenPHT, but otherwise it indicates that the problem may be caused by PMS or the channel itself. I have tried to replicate your issue here, using both Win7 and Win10 computers, but have not been able to do so yet, though this may be because my test setup is not quite like yours, accessing my own PMS rather than a shared PMS. I'll try to set up a shared PMS test next.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/RasPlex/OpenPHT/issues/167#issuecomment-263090904, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXEfOSswH3Q46-thaQnlgJlwH8vHPfoMks5rCLjQgaJpZM4K86F5.

g1t-dlanor commented 7 years ago

@stevie1706 I've now made some tests using OPHT 1.7.1.137 both under Win7 and under Win10 to access channels shared from my PMS server to another Plex account (used for login of OPHT). This worked fine for cases you describe as failing, with the channel not first in the channel section listing. I was able to access channels whose posters were shown surrounded by others in the channel listing, and I was also able to access channels directly from the home screen fanout shown when the "Channels" entry is highlighted. And for each of these cases I was able to proceed with playback of selected videos in the opened channels.

Because of these results I suspect that the problem you have is triggered by something specific to the channel(s) you use or specific to your PMS system and its configuration.

My own PMS is version 1.2.7.2987 running under Win7. It could be useful to know which PMS version you're using and which channels are failing for you. That could allow us to make a test with conditions more similar to yours.

stevie1706 commented 7 years ago

Hi,

It is the latest version 1.2.7.2987.0-1bef33a. Do you have skype?

Thanks

From: Ulf Ronald Andersson [mailto:notifications@github.com] Sent: 26 November 2016 23:40 To: RasPlex/OpenPHT OpenPHT@noreply.github.com Cc: stevie1706 steven.culshaw@outlook.com; Mention mention@noreply.github.com Subject: Re: [RasPlex/OpenPHT] Issue with changing channels. Channel will not play unless it is the first in the section, and only using the play button on left nav. (#167)

@stevie1706https://github.com/stevie1706 I've now made some tests using OPHT 1.7.1.137 both under Win7 and under Win10 to access channels shared from my PMS server to another Plex account (used for login of OPHT). This worked fine for cases you describe as failing, with the channel not first in the channel section listing. I was able to access channels whose posters were shown surrounded by others in the channel listing, and I was also able to access channels directly from the home screen fanout shown when the "Channels" entry is highlighted. And for each of these cases I was able to proceed with playback of selected videos in the opened channels.

Because of these results I suspect that the problem you have is triggered by something specific to the channel(s) you use or specific to your PMS system and its configuration.

My own PMS is version 1.2.7.2987 running under Win7. It could be useful to know which PMS version you're using and which channels are failing for you. That could allow us to make a test with conditions more similar to yours.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/RasPlex/OpenPHT/issues/167#issuecomment-263092630, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXEfOVlR40wO0OSd7y6GOllYRQQeNcMaks5rCMM6gaJpZM4K86F5.

stevie1706 commented 7 years ago

This is an example of the file returned from the server

EXTM3U

EXT-X-VERSION:3

EXT-X-MEDIA-SEQUENCE:266

EXT-X-ALLOW-CACHE:YES

EXT-X-TARGETDURATION:14

EXTINF:4.000000,

/hlsr//212/212_266.ts

EXTINF:10.000000,

/hlsr///212/212_267.ts

EXTINF:13.960000,

/hlsr///212/212_268.ts

EXTINF:10.000000,

/hlsr///212/212_269.ts

EXTINF:6.800000,

/hlsr///212/212_270.ts

EXTINF:11.400000,

/hlsr///212/212_271.ts

From: Steven Culshaw Sent: 26 November 2016 23:48 To: 'RasPlex/OpenPHT' reply@reply.github.com; RasPlex/OpenPHT OpenPHT@noreply.github.com Cc: stevie1706 steven.culshaw@outlook.com; Mention mention@noreply.github.com Subject: RE: [RasPlex/OpenPHT] Issue with changing channels. Channel will not play unless it is the first in the section, and only using the play button on left nav. (#167)

Hi,

It is the latest version 1.2.7.2987.0-1bef33a. Do you have skype?

Thanks

From: Ulf Ronald Andersson [mailto:notifications@github.com] Sent: 26 November 2016 23:40 To: RasPlex/OpenPHT OpenPHT@noreply.github.com<mailto:OpenPHT@noreply.github.com> Cc: stevie1706 steven.culshaw@outlook.com<mailto:steven.culshaw@outlook.com>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Subject: Re: [RasPlex/OpenPHT] Issue with changing channels. Channel will not play unless it is the first in the section, and only using the play button on left nav. (#167)

@stevie1706https://github.com/stevie1706 I've now made some tests using OPHT 1.7.1.137 both under Win7 and under Win10 to access channels shared from my PMS server to another Plex account (used for login of OPHT). This worked fine for cases you describe as failing, with the channel not first in the channel section listing. I was able to access channels whose posters were shown surrounded by others in the channel listing, and I was also able to access channels directly from the home screen fanout shown when the "Channels" entry is highlighted. And for each of these cases I was able to proceed with playback of selected videos in the opened channels.

Because of these results I suspect that the problem you have is triggered by something specific to the channel(s) you use or specific to your PMS system and its configuration.

My own PMS is version 1.2.7.2987 running under Win7. It could be useful to know which PMS version you're using and which channels are failing for you. That could allow us to make a test with conditions more similar to yours.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/RasPlex/OpenPHT/issues/167#issuecomment-263092630, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXEfOVlR40wO0OSd7y6GOllYRQQeNcMaks5rCMM6gaJpZM4K86F5.

stevie1706 commented 7 years ago

Hi - I am trying to setup a dev environment so i can debug this. Have followed the instructions but have a ton of errors when trying to build... (on windows)... identifier not found (....\xbmc\addons\AddonCallbacksGUI,cpp).

Can you point me in the right direction to what i have missed?

Thanks

stevie1706 commented 7 years ago

I seem to be missing the files PlexTypes.h Client/PlexMediaServerClient.h Variant.h and StdString,h -

Kwiboo commented 7 years ago

To build on windows you will need to do:

Chronocento commented 7 years ago

@stevie1706 Hi, did you find a solution? I'm encountering the same issue!