Giter Club home page Giter Club logo

bangumi-renamer's People

Contributors

nuthx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bangumi-renamer's Issues

能否添加对文件的重命名?

将视频文件(MP4、MKV)、音轨文件(MKA、FALC)、字幕文件(ASS)这些文件也进行重命名,后面添加上标记对应的剧集标号

标注失败

image
如图,手动标注也提示失败。。是因为番名有感叹号吗

win10,打不开QAQ

image
Traceback (most recent call last):
File "main.py", line 4, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "src\core.py", line 16, in
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "src\gui\dialog.py", line 2, in
ImportError: cannot import name 'MessageBoxBase' from 'qfluentwidgets' (C:\Users\ADMINI~1\AppData\Local\Temp_MEI14242\qfluentwidgets_init_.pyc)

QPushButton(icon: QIcon, text: str, parent: typing.Optional[QWidget] = None): argument 1 has unexpected type 'MyMainWindow'

    self.newVersionButton = PrimaryPushButton("有新版本", self, FluentIcon.LINK)

错误
发生异常: TypeError
arguments did not match any overloaded call:
QPushButton(parent: typing.Optional[QWidget] = None): argument 1 has unexpected type 'MyMainWindow'
QPushButton(text: str, parent: typing.Optional[QWidget] = None): argument 1 has unexpected type 'MyMainWindow'
QPushButton(icon: QIcon, text: str, parent: typing.Optional[QWidget] = None): argument 1 has unexpected type 'MyMainWindow'

希望能够加上链接模式

src/core.py的第 563 行:

os.rename(file_path, final_path_2)

对于保种来说,直接重命名并不是一个很好的选择,我认为采用符号链接会更好:

os.symlink(file_path, final_path_2)  # 这种方式在Windows下可能会权限不足

subprocess.run(['mklink', '/j', final_path_2, file_path], shell=True)  # Windows

这样的话,需要同步修改第 561 行的file_dir,由于我不会用Qt另外加一个选项设置这个目录,因此无力pr,只能提出大致思路,希望能够被采纳。

另,Windows 下 Python 直接创建符号链接权限问题,可以参考这里
要解决的话,可以选择判断系统:

if platform.system() != 'Windows':
    os.symlink(file_path, final_path_2)
else:
    subprocess.run(['mklink', '/j', final_path_2, file_path], shell=True)

错误识别后无法再正常打开应用程序

Traceback (most recent call last):
File "main.py", line 15, in
File "src\core.py", line 33, in init
File "src\module\config.py", line 98, in oldConfigCheck
File "src\module\config.py", line 125, in readConfig
File "configparser.py", line 699, in read
File "configparser.py", line 1022, in _read
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 81: illegal multibyte sequence

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.