Closed MapGuy11 closed 3 years ago
Very interesting! I could add an option to bypass the donation check, but I'd be curious to see what data your account holds compared to mine. Would you mind running the following script and paste the output here? (substitute the username and password)
token=$(curl -X POST -d '{"username": "YOURUSERNAME", "password":"YOURPASSWORD", "captcha":"foo"}' -H 'Content-Type: application/json' 'https://api.locastnet.org/api/user/login?client_id=CqhAMsBw%2BnxTXSJMLGqyOw%3D%3D' | sed s/{\"token\":\"//g | sed s/\"}//g)
curl -s -H "Authorization: Bearer $token" 'https://api.locastnet.org/api/user/me'
Thanks!
In the mean time, I'm looking at the data I get back and it seems that locastCaresApplicationDate
is returned. In my case it's null, but I'm curious to see what it looks like on your end. I assume that is what will be set if you qualify for Locast Cares.
I think you missed a piece..
I think you missed a piece..
Ok I'll try again.
{"id":40114,"name":"*","created":1541435852000,"password":"*","lastlogin":1629399634719,"realname":"*","idrole":1,"didDonate":true,"email":"*","lastDonation":1550255142000,"donationExpire":1587362400000,"lastDonationAmount":5.0,"totalDonations":5.0,"subscriptionProvider":"paypal","lastDmaUsed":504,"emailConfirmed":true,"parentIdUser":null,"emailOptOut":false,"lastPlayEvent":1629395345676,"signupSource":null,"signupIp":null,"locale":null,"locastCaresApplicationDate":null,"facebook":null}
Thanks! Unfortunately there's nothing in the data that tells me that you have a Locast Cares account. What I'll do is add an option that allows you to disable the donation check..
Thanks! Unfortunately there's nothing in the data that tells me that you have a Locast Cares account. What I'll do is add an option that allows you to disable the donation check..
Thank You that should make it work!
Fixed in 0.2.7. Should be built in a few mins
NOTE THAT UNCLEAR BUG REPORTS (i.e. without the information requested below like logs, settings, versions, etc) MIGHT BE CLOSED WITHOUT ANY HELP!!
Describe the bug So my Locast account is under the Locast EA/Cares program and since it pretty much as a obscene amount of money that cannot be expired so what happens is it looks for the Donation it says donation expired though the amount in the account is crazy. In Locast it recognizes that I have donated and doesn't give me any ads or donation links. Is there a way to bypass the check as the account does work with all of Locast's app though I want to use other apps to consume their content. To Reproduce Steps to reproduce the behavior:
Logs config selected = /app/config/config
Aug 19 17:52:54.884 INFO locast2tuner 0.2.5 on Linux 5.4.119-1-pve starting.. Aug 19 17:52:54.884 INFO UUID: 1130c704-c2d1-4ecd-b7dd-a25118276558 Aug 19 17:52:54.884 INFO Logging in with {redacted} Aug 19 17:52:55.122 INFO Login succeeded! thread 'main' panicked at 'Donation expired! Make sure you have an active donation at locast.org!', src/credentials.rs:103:17 note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace /app/run.sh: line 8: 8 Aborted (core dumped) /app/locast2tuner -b 0.0.0.0 -d 8 --tuner_count 4 $config ConfigurationEnvironment Proxmox LXC Container Locast 2 Tuner Version: 0.2.5 Screenshots If applicable, add screenshots to help explain your problem.
Environment Ubuntu 18.04 LTS Docker w/ Portainer - Linux 5.4.119-1-pve Additional context Add any other context about the problem here.