mrkriskrisu / kstats Goto Github PK
View Code? Open in Web Editor NEWTool for Spotify Statistics and shopping behavior at REWE
Home Page: https://kstats.k118.de/
License: GNU Affero General Public License v3.0
Tool for Spotify Statistics and shopping behavior at REWE
Home Page: https://kstats.k118.de/
License: GNU Affero General Public License v3.0
Create a button so the User can unfollow people (or remove from their followers (block - unblock?) in the followerstable
As more and more Users register at KStats the algorithmus to check every user every minute is a little bit too much for the Spotify API. There should be a way to minimize these requests.
[2020-08-19 13:23:07] staging.DEBUG: [Spotify] [CatchNowPlaying] Checking User xxx / xxx
[2020-08-19 13:23:07] staging.ERROR: Error while trying to retrieve currently-playing from Spotify API. StatusCode: 429
[2020-08-19 13:23:07] staging.ERROR: {
"error": {
"status": 429,
"message": "API rate limit exceeded"
}
}
Hi there,
I just signed up and tried to connect my Spotify account. When doing so, I am redirected to https://kstats.k118.de/auth/callback/spotify?code=REDACTED&state=REDACTED. Unfortunately, I only get an "500 | Internal Server Error".
I've confirmed my email address, logged out and back in. Afterwards, I was still able to reproduce the error.
If I can safely provide additional details here, I'll be happy to do so.
Thanks!
Add heartime column and merge duplicate rows.
Old:
user_id | timestamp_start | track_id
New:
user_id | timestamp_start | track_id | playtime
user_id | timestamp_start | track_id should be unique
When I try to reset the time for "Discover in Telegram", it responds with "The time field is required.", even though a "reset"-button is included in the field. (Though I don't know if that's because of my browser)
On the Spotify page, the user can play each preview in parallel. There should be javascript that stops playback when the user starts other songs.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Optionale Benachrichtigung, wenn favorisierte Produkte günstiger sind"
All Charts are currently generated by "Google Charts" where telemetric data is sent to Google. To prevent this we should use another Chart Library.
Migrate Data from Table spotify_device_activities to spotify_play_activities
There are many Bots which are creating accounts.
Es wäre cool, wenn man die Lautstärke einmal festlegt und sie dann durchgehend gleich ist in einer Session.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Audio player https://github.com/mediaelement/mediaelement"
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Bei Milchprodukten sollte man auswählen können, ob es laktosefrei ist, oder nicht. Könnte man auch als Extra-Kategorie machen."
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Netflix Stats pls"
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Man sollte ähnliche Produkte als eines verknüpfen können. Bspw. Cola 1l und Cola 2l"
KStats should support multiple Languages. English and German are required.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Public Stats (Beliebteste Produkte und Märkte)"
Please add the opportunity to see your "current mood" based on the songs (maybe sort by daytime?)
Currently there is no option to verify the Mail addresses a User will save in the settings. It's needed for new Users to participate at the REWE eBon Analyzer.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Gehörte Minuten (30 Tage, 7 Tage, 24 h) bitte mit dem jeweils gleichen vorhergegangenen Zeitraum vergleichen und die Prozentuale Veränderung anzeigen."
After changing the Language to English in the settings, nothing happened.
I used the Crowdsoursing function in the Rewe Bon function and I think it is very good.
Especially the vergetarian tasks on the right side are great.
However, I have a suggestion for improvement for the product categories.
I think it is great that there are so many different and detailed categories. But unfortunately it makes it very difficult to find the right category in the current list. I find it very frustrating if you don't know the right top category to find the right item.
I have a small suggestion for improvement.
Split the two current terms connected with an arrow into two different fields. A top category which you define first and then a subcategory which will be filtered and displayed according to the top category.
This also makes later evaluation in the statistics easier.
Alternatively, a full text search for the right categories would make the input much easier.
Only a small suggestion from my side. I hope I could help you.
I find your project very nice.
Best regards
Lukas
There is currently no possibility for users to connect their account to a (new) Telegram Chat. Users from "the old" can get messages to authorized ChatIDs.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Monatliche Ausgaben im Verlauf + Budget Funktion
Erklärung:
Bei den Monatlichen Ausgaben könnte sowas stehen wie: "Du hast in den letzten 3 Monaten durchschnittlich 150 ? bei REWE ausgegeben. Möchtest du deine Ausgaben um 10% senken und dir ein Monatliches Budget von 135 ? festlegen? [Budget planen]
Dann wechselt man auf die Budget-Unterseite wo man das Budget von beispielsweise 135 ? bestätigen kann und wo die Funktion näher erklärt wird.
Funktionsweise: jeweils am 01.01. des Monats wird das Budgetkonto zurückgesetzt und es wird dokumentiert ob man das Budget eingehalten oder überschritten hat. Ab da wird jeden Tag 1/30stel des Monatsbudgets auf ein Budgetkonto Gutgeschrieben, welches man im Bot per /budget oder auf der Website einsehen kann.
Beispiel: Man geht nach 5 Tagen einkaufen.
135/30 = 4,50 ? pro Tag verfügbar
Nach 5 Tagen ist das Budget wenn man den Bot fragt 22,50 ?
Wenn man nun für 19 ? einkauft ist alles okay und das Budget Konto steht auf 3,50 ?
Wenn man für 25 ? eingekauft hätte käme eine Warnmeldung im Telegram-Bot, dass man das Budget um 2,50 ? überschritten hat."
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Telegram entknüpf-funktion"
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Man sollte die Möglichkeit einer Kühlschrankverwaltung haben. Also Barcode des Produkts scannen, oder direkt vom eBon übernehmen, um unterwegs zu wissen, was man zuhause hat."
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
"Die Buttons mit denen man ein Lied direkt anhören kann... es wäre super cool, wenn die das Lied in die Warteschlange tun würden und ne viertel Sekunde später wird ein Lied-Skip ausgeführt.
Dadurch würde man durch klicken auf diese Buttons nicht aus der aktuell laufenden Playlist gerissen."
Note: The Playbutton is an old Feature which is not yet implemented in the Recoded version of KStats. Maybe the Feature can be re-implemented with this suggestion.
There a currently User without a password. They need a Spotify Login Button to login to KStats. They should set a password on first login.
It is not possible to assign a new email address.
When adding a new email address you will be redirected to https://k118.de/settings/add_mail and there you will get the error 500 | Server Error.
When going back to the settings, the new address is entered, but as "unverified". There will be no mail sent to confirm the mail.
I tried it with two different mails from two different providers. @gmx.de and @gmail.com
I also tried two different browsers.
Firefox 69.0.3 (32-bit)
Google Chrome 58.0.4183.102 (64-bit)
Es wäre cool, wenn man mit der Tastatur durch Lieder in der Entdecken-Funktion springen könnte. Bspw. + für like, - für dislike und ü für überspringen oder so.
This is an enhancement which was sent over the old "Feedback" Function of KStats by an User:
""Hörbücher melden"-Feature
Man sollte Interpreten als Hörbuch-Interpreten vorschlagen dürfen... so dass alle titel von denen aus unseren top listen usw. weg kommen und auch aus den verschollenen top tracks z. B."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.