Open gpasqualetti opened 1 year ago
Thanks @gpasqualetti for bringing this up!
I don't have a Garmin smartwatch to test this out, but it looks like the app might not be replacing the IPADDRESS
and USERNAME
values with the ones that you set during your configuration.
When you first login to gpodder2go via the app, do you see the login call reaching the server? Was it a 200?
This is the log when I first login with the Garmin app:
2023/04/29 19:06:01 [a9fa47634dce/fzJfjUtl27-000347] "POST http://IPADDRESS/api/2/auth/USERNAME/login.json HTTP/1.1" from MYIP - 200 0B in 930.965µs
2023/04/29 19:06:06 error adding RSS feed from URL: &url.Error{Op:"Get", URL:"https://podcasts.sueddeutsche.de/podcast/2171-das-thema-der-podcast-der-suddeutschen-zeitung/feed/mp3", Err:context.deadlineExceededError{}}
2023/04/29 19:06:28 error adding RSS feed from URL: context.deadlineExceededError{}
2023/04/29 19:06:38 error adding RSS feed from URL: &url.Error{Op:"Get", URL:"https://digitec.podigee.io/feed/mp3", Err:context.deadlineExceededError{}}
2023/04/29 19:07:00 [a9fa47634dce/fzJfjUtl27-000348] "GET http://IPADDRESS/subscriptions/USERNAME/DEVICENAME.json HTTP/1.1" from MYIP - 200 14281B in 58.100254444s
2023/04/29 19:07:24 error adding RSS feed from URL: &url.Error{Op:"Get", URL:"https://podcasts.sueddeutsche.de/podcast/2171-das-thema-der-podcast-der-suddeutschen-zeitung/feed/mp3", Err:context.deadlineExceededError{}}
2023/04/29 19:07:49 error adding RSS feed from URL: context.deadlineExceededError{}
2023/04/29 19:08:02 [a9fa47634dce/fzJfjUtl27-000349] "GET http://IPADDRESS/subscriptions/USERNAME/DEVICENAME.json HTTP/1.1" from MYIP - 200 14378B in 51.559086422s
2023/04/29 19:08:02 [a9fa47634dce/fzJfjUtl27-000350] "GET http://IPADDRESS/favicon.ico HTTP/1.1" from MYIP - 404 19B in 29µs
The Garmin app requires username, password, service url and device id.
What I did is the following: I used AntennaPod to register a new device DEVICENAME
, synced it, and logged out. I then entered DEVICENAME
in the Garmin app as device id.
Do you know how I can emulate this so that I can test it out?
I want to use gpodder2go to sync with the Podcasts app for Garmin smartwatches: https://github.com/lucasasselli/garmin-podcasts
So far, I have been able to login, but I get the following error when I try to manage subscriptions (from the smartwatch):
And when I try to download episodes:
On the smartwatch, it shows
Error -2
in both cases.I am currently trying to understand if the problem lies on gpodder2go or garmin-podcasts.