mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 09:04:32 +01:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
034aa246d8
10
README.md
10
README.md
@ -13,7 +13,7 @@ Supports- Playlist, Albums, Tracks. _(If You know Any Source for Episodes/Podcas
|
|||||||
**Currently running on:**
|
**Currently running on:**
|
||||||
- [Android (Jetpack Compose)](https://github.com/Shabinder/SpotiFlyer#-install)
|
- [Android (Jetpack Compose)](https://github.com/Shabinder/SpotiFlyer#-install)
|
||||||
- [Desktop (Compose for Desktop) <sup>β</sup>](https://github.com/Shabinder/SpotiFlyer#-install)
|
- [Desktop (Compose for Desktop) <sup>β</sup>](https://github.com/Shabinder/SpotiFlyer#-install)
|
||||||
- [Web (Kotlin/JS + React Wrapper) <sup>β</sup>](http://shabinder.github.io/SpotiFlyer/)
|
- [Web (Kotlin/JS + React Wrapper) <sup>β</sup>](https://spotiflyer.ml/web/)
|
||||||
- [_(WIP)_ IOS SOON (SWIFTUI)](https://github.com/Shabinder/spotiflyer-ios)
|
- [_(WIP)_ IOS SOON (SWIFTUI)](https://github.com/Shabinder/spotiflyer-ios)
|
||||||
|
|
||||||
<!--[![Build Status](https://github.com/Shabinder/SpotiFlyer/blob/master/app/build_passing.svg)](https://github.com/Shabinder/SpotiFlyer/releases)
|
<!--[![Build Status](https://github.com/Shabinder/SpotiFlyer/blob/master/app/build_passing.svg)](https://github.com/Shabinder/SpotiFlyer/releases)
|
||||||
@ -41,16 +41,10 @@ SpotiFlyer is an **App**(Written in **Kotlin**), which **aims** to work as:
|
|||||||
|
|
||||||
|
|
||||||
<!--START_SECTION:DCI-->
|
<!--START_SECTION:DCI-->
|
||||||
<a href="https://github.com/Shabinder/SpotiFlyer/releases/latest"><img src="https://hcti.io/v1/image/94f72402-038e-40f2-94aa-0f7ed3f18085" height="125" width="280" alt="Total Downloads"></a>
|
<a href="https://github.com/Shabinder/SpotiFlyer/releases/latest"><img src="https://hcti.io/v1/image/bd25a7e0-3b56-4739-8153-f24e35f375ee" height="125" width="280" alt="Total Downloads"></a>
|
||||||
<!--END_SECTION:DCI-->
|
<!--END_SECTION:DCI-->
|
||||||
|
|
||||||
|
|
||||||
## 📈 Analytics _(Per Day)_
|
|
||||||
|
|
||||||
<!--START_SECTION:HTI-->
|
|
||||||
![Today's Analytics](https://hcti.io/v1/image/58bf4b1b-e2fa-4e2d-8e87-2fa7d9983e26)
|
|
||||||
<!--END_SECTION:HTI-->
|
|
||||||
|
|
||||||
|
|
||||||
## 💻 Install
|
## 💻 Install
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ internal suspend fun getAnalyticsImage(): String {
|
|||||||
* */
|
* */
|
||||||
val randomID = (1..100000).random()
|
val randomID = (1..100000).random()
|
||||||
analyticsImage = HCTIService.getImageURLFromURL(
|
analyticsImage = HCTIService.getImageURLFromURL(
|
||||||
url = "https://kind-grasshopper-73.telebit.io/matomo/index.php?module=Widgetize&action=iframe&containerId=VisitOverviewWithGraph&disableLink=0&widget=1&moduleToWidgetize=CoreHome&actionToWidgetize=renderWidgetContainer&idSite=1&period=day&date=yesterday&disableLink=1&widget=$randomID",
|
url = "https://matomo.spotiflyer.ml/index.php?module=Widgetize&action=iframe&containerId=VisitOverviewWithGraph&disableLink=0&widget=1&moduleToWidgetize=CoreHome&actionToWidgetize=renderWidgetContainer&idSite=1&period=day&date=yesterday&disableLink=1&widget=$randomID",
|
||||||
delayInMilliSeconds = 5000
|
delayInMilliSeconds = 5000
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ internal suspend fun updateDownloadCards(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add Matomo Downloads
|
// Add Matomo Downloads
|
||||||
client.get<MatomoDownloads>("https://kind-grasshopper-73.telebit.io/matomo/?module=API&method=Actions.getDownloads&idSite=1&period=year&date=today&format=JSON&token_auth=anonymous").forEach {
|
client.get<MatomoDownloads>("https://matomo.spotiflyer.ml/?module=API&method=Actions.getDownloads&idSite=1&period=year&date=today&format=JSON&token_auth=anonymous").forEach {
|
||||||
totalDownloads += it.nb_hits
|
totalDownloads += it.nb_hits
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user