Skip to content

Conversation

@stonewell
Copy link

No description provided.

@c0diq
Copy link
Member

c0diq commented Nov 5, 2018

@stonewell Thanks for opening this PR. Could you please fill up the Individual Contribution License Agreement before I can approve to merging this PR?

Thanks!
-s

@stonewell
Copy link
Author

signed

'cygwin' : 'x86-unknown-cygwin',
'darwin' : 'universal-apple-macosx'
'darwin' : 'universal-apple-macosx',
'raspberry-pi-arm' : 'arm-raspberry-pi-linux'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Could you align the : please?

platform_id = sys.platform
if platform.system() == 'Linux':
if (platform.machine() == 'i386' or
if pi_version() is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to hook into platform.machine().startswith('arm') last and differentiate between linux-arm and raspberry-pi-arm instead?
Alternatively, is there anyway to use linux-arm for raspberry?

@@ -0,0 +1,5 @@
LoadTool('gcc-generic', env)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intentionally not supported because building iOS/macOS with Scons is unstable and unsupported at the moment.

NPT_CHECK_SEVERE(service->GetStateVariableValue("AVTransportURI", curURI));
NPT_CHECK_SEVERE(service->GetStateVariableValue("AVTransportURIMetaData", metaData));

service->SetStateVariable("TransportState", "PLAYING");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want this to set the state, it should be your delegate depending if it accepts to play that should update the service.

PLT_Service* service;
NPT_CHECK_SEVERE(m_Renderer->FindServiceByType("urn:schemas-upnp-org:service:AVTransport:1", service));

service->SetStateVariable("TransportState", "PLAYING");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, I think your delegate should be doing that or maybe do it only if the delegate method returned success.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants