KekikStream 0.1.2__tar.gz → 0.1.3__tar.gz

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.
Files changed (37) hide show
  1. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Managers/UIManager.py +9 -0
  2. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/__init__.py +3 -3
  3. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/PKG-INFO +1 -1
  4. {kekikstream-0.1.2 → kekikstream-0.1.3}/PKG-INFO +1 -1
  5. {kekikstream-0.1.2 → kekikstream-0.1.3}/setup.py +1 -1
  6. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/CLI/__init__.py +0 -0
  7. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/CLI/check_update.py +0 -0
  8. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/ExtractorBase.py +0 -0
  9. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/ExtractorLoader.py +0 -0
  10. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/ExtractorModels.py +0 -0
  11. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/MediaHandler.py +0 -0
  12. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/PluginBase.py +0 -0
  13. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/PluginLoader.py +0 -0
  14. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/PluginModels.py +0 -0
  15. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Core/__init__.py +0 -0
  16. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Extractors/CloseLoad.py +0 -0
  17. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Extractors/MailRu.py +0 -0
  18. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Extractors/VidMoxy.py +0 -0
  19. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Managers/ExtractorManager.py +0 -0
  20. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Managers/MediaManager.py +0 -0
  21. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Managers/PluginManager.py +0 -0
  22. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Managers/__init__.py +0 -0
  23. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Plugins/FilmMakinesi.py +0 -0
  24. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Plugins/FullHDFilmizlesene.py +0 -0
  25. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Plugins/SineWix.py +0 -0
  26. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/Plugins/UgurFilm.py +0 -0
  27. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/__main__.py +0 -0
  28. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream/requirements.txt +0 -0
  29. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/SOURCES.txt +0 -0
  30. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/dependency_links.txt +0 -0
  31. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/entry_points.txt +0 -0
  32. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/requires.txt +0 -0
  33. {kekikstream-0.1.2 → kekikstream-0.1.3}/KekikStream.egg-info/top_level.txt +0 -0
  34. {kekikstream-0.1.2 → kekikstream-0.1.3}/LICENSE +0 -0
  35. {kekikstream-0.1.2 → kekikstream-0.1.3}/MANIFEST.in +0 -0
  36. {kekikstream-0.1.2 → kekikstream-0.1.3}/README.md +0 -0
  37. {kekikstream-0.1.2 → kekikstream-0.1.3}/setup.cfg +0 -0
@@ -15,6 +15,15 @@ class UIManager:
15
15
  async def select_from_list(message, choices):
16
16
  return await inquirer.select(message=message, choices=choices).execute_async()
17
17
 
18
+ @staticmethod
19
+ async def select_from_fuzzy(message, choices):
20
+ return await inquirer.fuzzy(
21
+ message = message,
22
+ choices = choices,
23
+ validate = lambda result: result in [choice if isinstance(choice, str) else choice["value"] for choice in choices],
24
+ filter = lambda result: result
25
+ ).execute_async()
26
+
18
27
  @staticmethod
19
28
  async def prompt_text(message):
20
29
  return await inquirer.text(message=message).execute_async()
@@ -26,7 +26,7 @@ class KekikStream:
26
26
  await self.plugin_manager.close_plugins()
27
27
 
28
28
  async def select_plugin(self):
29
- plugin_name = await self.ui_manager.select_from_list(
29
+ plugin_name = await self.ui_manager.select_from_fuzzy(
30
30
  message = "Bir eklenti seçin:",
31
31
  choices = self.plugin_manager.get_plugin_names()
32
32
  )
@@ -49,7 +49,7 @@ class KekikStream:
49
49
  await self.select_result(results)
50
50
 
51
51
  async def select_result(self, results):
52
- selected_url = await self.ui_manager.select_from_list(
52
+ selected_url = await self.ui_manager.select_from_fuzzy(
53
53
  message = "Bir içerik seçin:",
54
54
  choices = [{"name": res.title, "value": res.url} for res in results]
55
55
  )
@@ -69,7 +69,7 @@ class KekikStream:
69
69
  self.ui_manager.display_media_info(self.current_plugin.name, media_info)
70
70
 
71
71
  if isinstance(media_info, SeriesInfo):
72
- selected_episode = await self.ui_manager.select_from_list(
72
+ selected_episode = await self.ui_manager.select_from_fuzzy(
73
73
  message="Bir bölüm seçin:",
74
74
  choices=[
75
75
  {"name": f"{episode.season}. Sezon {episode.episode}. Bölüm - {episode.title}", "value": episode.url}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: KekikStream
3
- Version: 0.1.2
3
+ Version: 0.1.3
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: KekikStream
3
- Version: 0.1.2
3
+ Version: 0.1.3
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 @@ from io import open
6
6
  setup(
7
7
  # ? Genel Bilgiler
8
8
  name = "KekikStream",
9
- version = "0.1.2",
9
+ version = "0.1.3",
10
10
  url = "https://github.com/keyiflerolsun/KekikStream",
11
11
  description = "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ı",
12
12
  keywords = ["KekikStream", "KekikAkademi", "keyiflerolsun"],
File without changes
File without changes
File without changes
File without changes