aw-cli 1.8__tar.gz → 1.8.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aw-cli
3
- Version: 1.8
3
+ Version: 1.8.1
4
4
  Summary: guarda anime dal terminale e molto altro!
5
5
  Home-page: https://github.com/fexh10/aw-cli
6
6
  Author: fexh10
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aw-cli
3
- Version: 1.8
3
+ Version: 1.8.1
4
4
  Summary: guarda anime dal terminale e molto altro!
5
5
  Home-page: https://github.com/fexh10/aw-cli
6
6
  Author: fexh10
@@ -153,7 +153,7 @@ def openSyncplay(url_ep: str, nome_video: str):
153
153
  my_print("Aggiornare il path di syncplay nella configurazione tramite: aw-cli -a", color="rosso")
154
154
  safeExit()
155
155
 
156
- os.system(f''''{syncplay_path}' "{url_ep}" media-title="{nome_video}" --language it > /dev/null 2>&1''')
156
+ os.system(f''''{syncplay_path}' "{url_ep}" force-media-title="{nome_video}" --language it > /dev/null 2>&1''')
157
157
 
158
158
 
159
159
  def openMPV(url_ep: str, nome_video: str):
@@ -537,7 +537,11 @@ def removeFromCrono(number: int):
537
537
  drop = my_input(f"Droppare \"{anime.name}\" su AniList? (s/N)", check_yes)
538
538
 
539
539
  if drop:
540
- updateAnilist(anime.ep_corrente, True)
540
+ if anime.id_anilist == 0:
541
+ my_print("Impossibile droppare su AniList: id anime non trovato!", color="rosso")
542
+ sleep(1)
543
+ else:
544
+ updateAnilist(anime.ep_corrente, True)
541
545
 
542
546
  log.pop(number)
543
547
 
@@ -267,7 +267,7 @@ def getConfig() -> tuple[bool, str, str]:
267
267
  anilist.dropAnilist = True if lines[4].strip() == "dropAnilist: True" else False
268
268
  anilist.user_id = int(lines[5])
269
269
 
270
- syncplay_path = lines[6]
270
+ syncplay_path = lines[6].strip()
271
271
 
272
272
  return mpv, player_path, syncplay_path
273
273
 
@@ -0,0 +1 @@
1
+ versione = "1.8.1"
@@ -14,7 +14,7 @@ installRequires = [
14
14
  setup(
15
15
  name="aw-cli",
16
16
  packages=find_packages(include=["awcli"]),
17
- version="1.8",
17
+ version="1.8.1",
18
18
  python_requires=">3.10",
19
19
  description="guarda anime dal terminale e molto altro!",
20
20
  long_description=long_description,
@@ -1 +0,0 @@
1
- versione = "1.8"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes