Skip to content

Adjustment of ohplayer to new tidal login procedure #23

@Dual01

Description

@Dual01

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions