You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Dual01
changed the title
Adjust ohplayer to new tidal login procedure
Adjustment of ohplayer to new tidal login procedure
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.
The text was updated successfully, but these errors were encountered: