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

Adjustment of ohplayer to new tidal login procedure #23

Open
Dual01 opened this issue Mar 6, 2021 · 0 comments
Open

Adjustment of ohplayer to new tidal login procedure #23

Dual01 opened this issue Mar 6, 2021 · 0 comments

Comments

@Dual01
Copy link

Dual01 commented Mar 6, 2021

I used the dependencies matching ohNet 1.30.4077. When I compile the ohplayer, I get the following error related to ExampleMediaplayer which is due to the NewTidal login procedure:

ExampleMediaPlayer.cpp: In member function ‘void OpenHome::Av::ExampleMediaPlayer::RegisterPlugins(OpenHome::Environment&)’:
ExampleMediaPlayer.cpp:331:58: error: no matching function for call to ‘OpenHome::Media::ProtocolFactory::NewTidal(OpenHome::Environment&, OpenHome::SslContext&, OpenHome::Brn, OpenHome::Av::MediaPlayer&)’
iMediaPlayer));
^
ExampleMediaPlayer.cpp:331:58: note: candidate is:
In file included from ExampleMediaPlayer.cpp:6:0:
../dependencies/Linux-armhf/ohMediaPlayer/include/OpenHome/Media/Protocol/ProtocolFactory.h:39:22: note: static OpenHome::Media::Protocol
OpenHome::Media::ProtocolFactory::NewTidal(OpenHome::Environment&, OpenHome::SslContext&, const OpenHome::Brx&, const OpenHome::Brx&, const OpenHome::Brx&, std::vectorOpenHome::OAuthAppDetails&, OpenHome::Av::IMediaPlayer&)
static Protocol* NewTidal(Environment& aEnv, SslContext& aSsl, const Brx& aPartnerId, const Brx& aClientId, const Brx& aClientSecret, std::vector& aAppDetails, Av::IMediaPlayer& aMediaPlayer);
^
../dependencies/Linux-armhf/ohMediaPlayer/include/OpenHome/Media/Protocol/ProtocolFactory.h:39:22: note: candidate expects 7 arguments, 4 provided
Makefile.armhf:115: recipe for target 'raspbian/objs/ExampleMediaPlayer.o' failed
make[1]: *** [raspbian/objs/ExampleMediaPlayer.o] Error 1
make[1]: Leaving directory '/home/pi/ohPlayer/linux'
Makefile:28: recipe for target 'raspbian' failed
make: *** [raspbian] Error 2

Thus, it would be great to update the ExampleMediaplayer for the New Tidal login protocol.

@Dual01 Dual01 changed the title Adjust ohplayer to new tidal login procedure Adjustment of ohplayer to new tidal login procedure Mar 6, 2021
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

No branches or pull requests

1 participant