KekikStream 0.9.0__py3-none-any.whl → 0.9.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- KekikStream/Plugins/Shorten.py +4 -11
- KekikStream/__init__.py +7 -2
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/METADATA +1 -1
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/RECORD +8 -8
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/LICENSE +0 -0
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/WHEEL +0 -0
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/entry_points.txt +0 -0
- {KekikStream-0.9.0.dist-info → KekikStream-0.9.2.dist-info}/top_level.txt +0 -0
KekikStream/Plugins/Shorten.py
CHANGED
@@ -174,28 +174,21 @@ class Shorten(PluginBase):
|
|
174
174
|
episodes = []
|
175
175
|
for episode in veri.get("episodes"):
|
176
176
|
episode["name"] = veri["title"] + f" | {episode.get('number')}. Bölüm"
|
177
|
+
episode["subtitles"] = [subtitle for subtitle in episode["subtitles"] if subtitle.get("code").lower() in ["tr", "en"]]
|
177
178
|
|
178
179
|
ep_model = Episode(
|
179
180
|
season = 1,
|
180
181
|
episode = episode.get("number"),
|
181
|
-
title =
|
182
|
-
url = json.dumps(episode),
|
182
|
+
title = "",
|
183
|
+
url = json.dumps(episode, indent=2, ensure_ascii=False, sort_keys=False),
|
183
184
|
)
|
184
185
|
|
185
186
|
episodes.append(ep_model)
|
186
|
-
subtitles = [
|
187
|
-
Subtitle(
|
188
|
-
name = subtitle.get("language"),
|
189
|
-
url = subtitle.get("url"),
|
190
|
-
)
|
191
|
-
for subtitle in episode.get("subtitles")
|
192
|
-
]
|
193
|
-
|
194
187
|
self._data[ep_model.url] = {
|
195
188
|
"ext_name" : self.name,
|
196
189
|
"name" : f"{ep_model.title}",
|
197
190
|
"referer" : "https://shorten.com/tr",
|
198
|
-
"subtitles" :
|
191
|
+
"subtitles" : []
|
199
192
|
}
|
200
193
|
|
201
194
|
return SeriesInfo(
|
KekikStream/__init__.py
CHANGED
@@ -13,6 +13,7 @@ class KekikStream:
|
|
13
13
|
self.arayuz_yonetici = UIManager()
|
14
14
|
self.medya_yonetici = MediaManager()
|
15
15
|
self.suanki_eklenti: PluginBase = None
|
16
|
+
self.secilen_sonuc = None
|
16
17
|
|
17
18
|
async def baslat(self):
|
18
19
|
# Konsolu temizle ve başlık göster
|
@@ -137,6 +138,7 @@ class KekikStream:
|
|
137
138
|
)
|
138
139
|
|
139
140
|
async def sonuc_detaylari_goster(self, secilen_sonuc):
|
141
|
+
self.secilen_sonuc = secilen_sonuc
|
140
142
|
try:
|
141
143
|
# Seçilen sonucun detaylarını al
|
142
144
|
if isinstance(secilen_sonuc, dict) and "plugin" in secilen_sonuc:
|
@@ -170,7 +172,7 @@ class KekikStream:
|
|
170
172
|
secilen_bolum = await self.arayuz_yonetici.select_from_fuzzy(
|
171
173
|
message = "İzlemek istediğiniz bölümü seçin:",
|
172
174
|
choices = [
|
173
|
-
{"name": f"{bolum.season}. Sezon {bolum.episode}. Bölüm - {bolum.title}", "value": bolum.url}
|
175
|
+
{"name": f"{bolum.season}. Sezon {bolum.episode}. Bölüm{f' - {bolum.title}' if bolum.title else ''}", "value": bolum.url}
|
174
176
|
for bolum in medya_bilgi.episodes
|
175
177
|
]
|
176
178
|
)
|
@@ -206,7 +208,10 @@ class KekikStream:
|
|
206
208
|
)
|
207
209
|
if secilen_link:
|
208
210
|
await self.medya_oynat(secilen_link)
|
209
|
-
|
211
|
+
|
212
|
+
self.arayuz_yonetici.clear_console()
|
213
|
+
konsol.rule(f"[bold cyan]{self.suanki_eklenti.name} » Bi Bölüm Daha?[/bold cyan]")
|
214
|
+
return await self.sonuc_detaylari_goster(self.secilen_sonuc)
|
210
215
|
|
211
216
|
# Kullanıcı seçenekleri
|
212
217
|
secim = await self.arayuz_yonetici.select_from_list(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.2
|
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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
KekikStream/__init__.py,sha256=
|
1
|
+
KekikStream/__init__.py,sha256=gK5pSk1olFmcdzOpqWM5-XuGE0WPTamqk39p_i0ZdQg,12494
|
2
2
|
KekikStream/__main__.py,sha256=B81dQoeGEb-T5Sycs3eNAmW7unvx0Mef0syCjs4nPds,137
|
3
3
|
KekikStream/requirements.txt,sha256=QWCXrrmKodIm7mGtIz9cWr9sks-lmL_TilKMrruWJn0,77
|
4
4
|
KekikStream/CLI/__init__.py,sha256=U6oLq_O7u5y2eHhBnmfhZNns_EqHHJXJmzl8jvZFUNY,230
|
@@ -48,12 +48,12 @@ KekikStream/Plugins/FullHDFilmizlesene.py,sha256=Fa0gRP_NoMfPC8HIKRxERjQVOv8Fyb-
|
|
48
48
|
KekikStream/Plugins/JetFilmizle.py,sha256=Gu4Ums-88x7jNKAtKkdSXyMaOyLv0_Kb6jnomhAWhM0,3916
|
49
49
|
KekikStream/Plugins/RecTV.py,sha256=7hxlt3Rvm1gV2lF6dFLOxiK_CjNng_7a02l0YkMuNZc,4886
|
50
50
|
KekikStream/Plugins/SezonlukDizi.py,sha256=5BZVzQ2eQtymHxO0bzjA2ho4FFNahPFQly4hoHuH8lo,4441
|
51
|
-
KekikStream/Plugins/Shorten.py,sha256=
|
51
|
+
KekikStream/Plugins/Shorten.py,sha256=esZDxaOikl3qJzsXDNpVRBXKoq1LfAuIFmGe4HxEkWA,8837
|
52
52
|
KekikStream/Plugins/SineWix.py,sha256=WxlGoE8GMWr7S7Htu_Bh_OP4qIav1igHLJ3GWzP8ttQ,4859
|
53
53
|
KekikStream/Plugins/UgurFilm.py,sha256=yYXee5uxwNnPqFJZ6s6cRkmUyqS3Vv8x-iesPalc4j4,2930
|
54
|
-
KekikStream-0.9.
|
55
|
-
KekikStream-0.9.
|
56
|
-
KekikStream-0.9.
|
57
|
-
KekikStream-0.9.
|
58
|
-
KekikStream-0.9.
|
59
|
-
KekikStream-0.9.
|
54
|
+
KekikStream-0.9.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
55
|
+
KekikStream-0.9.2.dist-info/METADATA,sha256=Ilern1GY2_d5ey8A2uiyED0-aAVSUibsbtz6fiF2eFM,4226
|
56
|
+
KekikStream-0.9.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
57
|
+
KekikStream-0.9.2.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
|
58
|
+
KekikStream-0.9.2.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
|
59
|
+
KekikStream-0.9.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|