$claimResponse = Invoke-RestMethod -Method GET -Uri "" -Headers $claimHeaders "X-Plex-Client-Identifier" = $plexClientIdentifier $claimHeaders = "application/json, text/javascript, */* q=0.01" $loginResponse = Invoke-RestMethod -Method POST -Uri "$plexProduct&X-Plex-Client-Identifier=$plexClientIdentifier&login=$plexUsername&password=$plexPassword&verificationCode=$plexVerificationCode&rememberMe=false" $plexVerificationCode = Read-Host "Provide verification code" $plexPassword = Read-Host "Provide plex password" #yes, not great to store a pass as a plain string. $plexUsername = Read-Host "Provide plex user name" $plexClientIdentifier = Generate-PlexClientId Return "$(Get-RandomHexString -Length 8)-$(Get-RandomHexString -Length 4)-$(Get-RandomHexString -Length 4)-$(Get-RandomHexString -Length 12)" #expected result on : number of Hexadecimal digits separated by dash: 8-4-4-12 #helper function to generate a random client ID - didn't verify if there was a better way to check for So unsure why the plexamp app just doesn't increase the volume on the HiFiBerry and avoid the quality loss.Īpart from that I wanted to come back to HiFiBerry team 's comment about not wanting users to fiddle with terminal commands to install applications.Ĭode that would generate the required value for me in PowerShell (as a PoC): #helper function One thing though: when raising the volume via the plexamp app (casting to my HiFiBerry) on my phone, I noticed that the quality deteriorated but when instead I increased the volume directly via the HiFiBerry UI webpage, it did not. Thanks a lot for keeping this going!!! Got my plexamp installed and can now finally listen to my Plex library via HiFiBerry :). Hi Christian Brückner and Jerome Le Luyer
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |