Skip to content

Commit a46dca0

Browse files
author
Ferenc Nánási
committed
IzzyOnDroid badge added
2 parents 2248384 + a618f0a commit a46dca0

34 files changed

+20440
-26862
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ npm-debug.log*
3030
/plugins
3131
/www
3232
resources/android
33+
<<<<<<< HEAD
3334
./package-lock.json
35+
=======
36+
package-lock.json
37+
>>>>>>> a618f0ac45351751d5937cb9e745a762fac0d4e0

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,26 @@ Update [mpv-remote-node](https://github.com/husudosu/mpv-remote-node) to 1.0.3!
66
- Metadata appears on info panel
77
- Some tweaking
88
- Unused dependecies removed from project
9+
10+
## 1.0.5
11+
12+
Very important to update mpv-remote-node to 1.0.5!
13+
14+
- Upgraded to Ionic v6,
15+
- Support for multiple servers,
16+
- Multiple server handling
17+
- Filebrowser speed improvements with larger directories/collections
18+
19+
## 1.0.6
20+
21+
Minimum [mpv-remote-node](https://github.com/husudosu/mpv-remote-node) version: 1.0.5
22+
Before installing this version of MPV-remote app, please uninstall the previous one! Some Android related stuff changed!
23+
24+
- File browser speed improvements with large collections,
25+
- Improved server selector,
26+
- Better validation on create server screen
27+
28+
Important Android stuff:
29+
30+
- Changed app id from "io.ionic.starter" to "com.husudosu.mpvremote"
31+
- From now on VersionCode will be increased after every release.

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Kodi not renders properly some ASS/SSA subtitles some anime have overanimated su
1717
- Playlist handling,
1818
- Media file info,
1919
- Media collection handling,
20-
- Media status time stored on host machine. You can continue playback where you left off
20+
- Media status time can be stored on host machine. You can continue playback where you left off,
21+
- Open videos from Youtube app by using share function,
22+
- Open online streams from other apps for example [Aniyomi anime streamer](https://github.com/jmir1/aniyomi)
2123

2224
## How to use it
2325

TODO.md

+10
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,18 @@ Build production:
66
ionic capacitor build android --prod --release --verbose
77
```
88

9+
Optimized build:
10+
11+
```bash
12+
ionic capacitor build android --prod --aot --minifyjs --minifycss --optimizejs
13+
```
14+
915
Run debugging on android:
1016

1117
```bash
1218
ionic capacitor run android -l --host=host
1319
```
20+
21+
## TODO
22+
23+
- By some reasons routing not working properly, when not using modals on Settings -> Servers and Media collections

android/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ apply plugin: 'com.android.application'
33
android {
44
compileSdkVersion rootProject.ext.compileSdkVersion
55
defaultConfig {
6-
applicationId "io.ionic.starter"
6+
applicationId "com.husudosu.mpvremote"
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
9-
versionCode 1
10-
versionName "1.0.4"
9+
versionCode 6
10+
versionName "1.0.6"
1111
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1212
aaptOptions {
1313
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

android/app/capacitor.build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies {
1414
implementation project(':capacitor-keyboard')
1515
implementation project(':capacitor-status-bar')
1616
implementation project(':capacitor-storage')
17+
implementation project(':capacitor-community-sqlite')
1718
implementation "androidx.core:core:1.1.0"
1819
}
1920

android/app/release/output-metadata.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"type": "APK",
55
"kind": "Directory"
66
},
7-
"applicationId": "io.ionic.starter",
7+
"applicationId": "com.husudosu.mpvremote",
88
"variantName": "release",
99
"elements": [
1010
{
1111
"type": "SINGLE",
1212
"filters": [],
13-
"versionCode": 1,
14-
"versionName": "1.0.4",
13+
"versionCode": 6,
14+
"versionName": "1.0.6",
1515
"outputFile": "app-release.apk"
1616
}
1717
]

android/app/src/main/AndroidManifest.xml

+2-20
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<manifest package="io.ionic.starter" xmlns:android="http://schemas.android.com/apk/res/android">
2+
<manifest package="com.husudosu.mpvremote" xmlns:android="http://schemas.android.com/apk/res/android">
33
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
4-
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/title_activity_main" android:launchMode="singleTask" android:name="io.ionic.starter.MainActivity" android:theme="@style/AppTheme.NoActionBarLaunch">
4+
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/title_activity_main" android:launchMode="singleTask" android:name="com.husudosu.mpvremote.MainActivity" android:theme="@style/AppTheme.NoActionBarLaunch">
55
<intent-filter>
66
<action android:name="android.intent.action.MAIN" />
77
<category android:name="android.intent.category.LAUNCHER" />
@@ -15,13 +15,10 @@
1515
<action android:name="com.darryncampbell.cordova.plugin.intent.ACTION" />
1616
<category android:name="android.intent.category.DEFAULT" />
1717
</intent-filter>
18-
<!-- This filter captures protocols without type info -->
1918
<intent-filter>
2019
<action android:name="android.intent.action.VIEW" />
21-
2220
<category android:name="android.intent.category.DEFAULT" />
2321
<category android:name="android.intent.category.BROWSABLE" />
24-
2522
<data android:scheme="rtmp" />
2623
<data android:scheme="rtmpe" />
2724
<data android:scheme="rtmps" />
@@ -34,13 +31,10 @@
3431
<data android:scheme="udp" />
3532
<data android:scheme="vlc" />
3633
</intent-filter>
37-
<!-- This filter captures protocols with type info -->
3834
<intent-filter>
3935
<action android:name="android.intent.action.VIEW" />
40-
4136
<category android:name="android.intent.category.DEFAULT" />
4237
<category android:name="android.intent.category.BROWSABLE" />
43-
4438
<data android:mimeType="video/*" />
4539
<data android:mimeType="audio/*" />
4640
<data android:scheme="rtmp" />
@@ -56,10 +50,8 @@
5650
</intent-filter>
5751
<intent-filter>
5852
<action android:name="android.intent.action.VIEW" />
59-
6053
<category android:name="android.intent.category.DEFAULT" />
6154
<category android:name="android.intent.category.BROWSABLE" />
62-
6355
<data android:scheme="" />
6456
<data android:scheme="file" />
6557
<data android:scheme="ftp" />
@@ -94,20 +86,15 @@
9486
</intent-filter>
9587
<intent-filter>
9688
<action android:name="android.intent.action.VIEW" />
97-
9889
<category android:name="android.intent.category.DEFAULT" />
9990
<category android:name="android.intent.category.BROWSABLE" />
100-
10191
<data android:scheme="" />
10292
<data android:scheme="file" />
10393
<data android:scheme="ftp" />
10494
<data android:scheme="content" />
10595
<data android:scheme="http" />
10696
<data android:scheme="https" />
10797
<data android:host="*" />
108-
109-
<!-- video -->
110-
11198
<data android:pathPattern=".*\\.3g2" />
11299
<data android:pathPattern=".*\\.3gp" />
113100
<data android:pathPattern=".*\\.3gp2" />
@@ -128,7 +115,6 @@
128115
<data android:pathPattern=".*\\.m2v" />
129116
<data android:pathPattern=".*\\.m2t" />
130117
<data android:pathPattern=".*\\.m2ts" />
131-
<!-- <data android:pathPattern=".*\\.m3u" /> -->
132118
<data android:pathPattern=".*\\.m3u8" />
133119
<data android:pathPattern=".*\\.mkv" />
134120
<data android:pathPattern=".*\\.mov" />
@@ -187,7 +173,6 @@
187173
<data android:pathPattern=".*\\.M2V" />
188174
<data android:pathPattern=".*\\.M2T" />
189175
<data android:pathPattern=".*\\.M2TS" />
190-
<!-- <data android:pathPattern=".*\\.M3U" /> -->
191176
<data android:pathPattern=".*\\.M3U8" />
192177
<data android:pathPattern=".*\\.MKV" />
193178
<data android:pathPattern=".*\\.MOV" />
@@ -226,9 +211,6 @@
226211
<data android:pathPattern=".*\\.WMV" />
227212
<data android:pathPattern=".*\\.WTV" />
228213
<data android:pathPattern=".*\\.XESC" />
229-
230-
<!-- audio -->
231-
232214
<data android:pathPattern=".*\\.3ga" />
233215
<data android:pathPattern=".*\\.a52" />
234216
<data android:pathPattern=".*\\.aac" />

android/app/src/main/assets/capacitor.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"appId": "io.ionic.starter",
2+
"appId": "com.husudosu.mpvremote",
33
"appName": "MPV Remote",
44
"webDir": "dist",
55
"bundledWebRuntime": false

android/app/src/main/assets/capacitor.plugins.json

+4
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@
1818
{
1919
"pkg": "@capacitor/storage",
2020
"classpath": "com.capacitorjs.plugins.storage.StoragePlugin"
21+
},
22+
{
23+
"pkg": "@capacitor-community/sqlite",
24+
"classpath": "com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin"
2125
}
2226
]

android/app/src/main/java/io/ionic/starter/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.ionic.starter;
1+
package com.husudosu.mpvremote;
22

33
import com.getcapacitor.BridgeActivity;
44

android/app/src/main/res/values/strings.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<resources>
33
<string name="app_name">MPV Remote</string>
44
<string name="title_activity_main">MPV Remote</string>
5-
<string name="package_name">io.ionic.starter</string>
6-
<string name="custom_url_scheme">io.ionic.starter</string>
5+
<string name="package_name">com.husudosu.mpvremote</string>
6+
<string name="custom_url_scheme">com.husudosu.mpvremote</string>
77
</resources>

android/capacitor.settings.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacit
1616

1717
include ':capacitor-storage'
1818
project(':capacitor-storage').projectDir = new File('../node_modules/@capacitor/storage/android')
19+
20+
include ':capacitor-community-sqlite'
21+
project(':capacitor-community-sqlite').projectDir = new File('../node_modules/@capacitor-community/sqlite/android')

capacitor.config.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appId": "io.ionic.starter",
3-
"appName": "MPV Remote",
4-
"webDir": "dist",
5-
"bundledWebRuntime": false
2+
"appId": "com.husudosu.mpvremote",
3+
"appName": "MPV Remote",
4+
"webDir": "dist",
5+
"bundledWebRuntime": false
66
}

0 commit comments

Comments
 (0)