KekikStream 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- KekikStream/Core/MediaHandler.py +8 -6
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/METADATA +1 -1
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/RECORD +7 -7
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/LICENSE +0 -0
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/WHEEL +0 -0
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/entry_points.txt +0 -0
- {KekikStream-0.4.3.dist-info → KekikStream-0.4.4.dist-info}/top_level.txt +0 -0
KekikStream/Core/MediaHandler.py
CHANGED
@@ -85,12 +85,10 @@ class MediaHandler:
|
|
85
85
|
|
86
86
|
def play_with_android_mxplayer(self, extract_data: ExtractResult):
|
87
87
|
paketler = [
|
88
|
-
"com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ActivityScreen",
|
89
|
-
"com.mxtech.videoplayer.pro/com.mxtech.videoplayer.ActivityScreen" # Pro sürüm
|
88
|
+
"com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ad.ActivityScreen", # Free sürüm
|
89
|
+
"com.mxtech.videoplayer.pro/com.mxtech.videoplayer.pro.ActivityScreen" # Pro sürüm
|
90
90
|
]
|
91
91
|
|
92
|
-
hatalar = []
|
93
|
-
|
94
92
|
for paket in paketler:
|
95
93
|
try:
|
96
94
|
android_command = [
|
@@ -104,8 +102,12 @@ class MediaHandler:
|
|
104
102
|
android_command.extend(["--eu", "title", self.title])
|
105
103
|
|
106
104
|
if self.headers:
|
107
|
-
for key, value in self.headers.items()
|
108
|
-
|
105
|
+
headers_string = " ".join(f"{key}: {value}" for key, value in self.headers.items())
|
106
|
+
android_command.extend(["--es", "headers", headers_string])
|
107
|
+
|
108
|
+
if extract_data.subtitles:
|
109
|
+
subs_string = " ".join(subtitle.url for subtitle in extract_data.subtitles)
|
110
|
+
android_command.extend(["--eu", "subs", subs_string])
|
109
111
|
|
110
112
|
with open(os.devnull, "w") as devnull:
|
111
113
|
subprocess.run(android_command, stdout=devnull, stderr=devnull, check=True)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.4
|
4
4
|
Summary: terminal üzerinden medya içeriği aramanızı ve VLC/MPV gibi popüler medya oynatıcılar aracılığıyla doğrudan izlemenizi sağlayan modüler ve genişletilebilir bir bıdı bıdı
|
5
5
|
Home-page: https://github.com/keyiflerolsun/KekikStream
|
6
6
|
Author: keyiflerolsun
|
@@ -6,7 +6,7 @@ KekikStream/CLI/pypi_kontrol.py,sha256=MchatOwCWCpFBtgt09yag9Rjal9XFyh2W_oVs2p7S
|
|
6
6
|
KekikStream/Core/ExtractorBase.py,sha256=wmGl-Xiem4s5M7baVOxYLba7UdygCDAXggo6Up8pFJE,1409
|
7
7
|
KekikStream/Core/ExtractorLoader.py,sha256=rrll3F2CyVmx3foa57PG0FocQMrFuMpdlG0Uf0-2Fz4,3915
|
8
8
|
KekikStream/Core/ExtractorModels.py,sha256=huIcPQ5VIRfMx0LcL5SS1u4dldZbHjzHKEdSEtOPlc0,456
|
9
|
-
KekikStream/Core/MediaHandler.py,sha256
|
9
|
+
KekikStream/Core/MediaHandler.py,sha256=-KULn0OVwaPbyP4DeiFWO-MkGFgbjPRsDiXAACzBWqA,5305
|
10
10
|
KekikStream/Core/PluginBase.py,sha256=ZQx6adxOKuX50TPN5pxE8oG9FD-ZjPXSHpSiW086QPQ,2479
|
11
11
|
KekikStream/Core/PluginLoader.py,sha256=5HQF8Em1TjvqMBPLKB7M_i2y6zPH6JZao-uekeacoSs,2574
|
12
12
|
KekikStream/Core/PluginModels.py,sha256=WWPEz8PpZZ4bLMDJzTE19BsQEJObkyhaYjDkyLaF2Ck,2365
|
@@ -49,9 +49,9 @@ KekikStream/Plugins/JetFilmizle.py,sha256=FXkMSQtjYoxwIonjRENFa91rC42L_8SYRhjhuS
|
|
49
49
|
KekikStream/Plugins/SezonlukDizi.py,sha256=5BZVzQ2eQtymHxO0bzjA2ho4FFNahPFQly4hoHuH8lo,4441
|
50
50
|
KekikStream/Plugins/SineWix.py,sha256=iBtSl150N3GHWqHJDLVNFDSJff-00PHksQC1h2urR8w,4851
|
51
51
|
KekikStream/Plugins/UgurFilm.py,sha256=yYXee5uxwNnPqFJZ6s6cRkmUyqS3Vv8x-iesPalc4j4,2930
|
52
|
-
KekikStream-0.4.
|
53
|
-
KekikStream-0.4.
|
54
|
-
KekikStream-0.4.
|
55
|
-
KekikStream-0.4.
|
56
|
-
KekikStream-0.4.
|
57
|
-
KekikStream-0.4.
|
52
|
+
KekikStream-0.4.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
53
|
+
KekikStream-0.4.4.dist-info/METADATA,sha256=owuBIF5p2RWFHV7C8aydksYrABpPu3pKGM7WY6wR06E,3987
|
54
|
+
KekikStream-0.4.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
55
|
+
KekikStream-0.4.4.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
|
56
|
+
KekikStream-0.4.4.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
|
57
|
+
KekikStream-0.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|