Git Product home page Git Product logo

scriptrenamer's People

Contributors

mik1ll avatar revam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

revam

scriptrenamer's Issues

Files are not renamed (missing ScriptRenamer?)

OS: Unraid 6.10.3
System: Docker Container on the latest tag
Server Version: 4.1.2.0
Script Version: 3.0.0

Shoko Server Startup log: here
Shoko Server log (when importing): here

When the server is importing files, they are identified and put into the 'imported' category but are not renamed.

The log file says that it cannot find a "valid destination" though this hasn't changed and worked yesterday.

When I use ShokoDesktop I have two observations:

First, adding the files works but when I click 'preview' the following error message appears and pretty much crashes any further UI interaction:

not-null property references a null or transient value Shoko.Models.Server.RenameScript.RenamerType

Second, the Type of the renamer is empty instead of ScriptRenamer in the drop-down menu. I only would be able to switch to 'Group Aware Sorter' or 'Legacy instead' (which is probably also the reason why the error happens) Example

Docker run command

docker run -d --name='shoko-server' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Fribb-Tower" -e HOST_CONTAINERNAME="shoko-server" -e 'PUID'='99' -e 'PGID'='100' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8111]/' -l net.unraid.docker.icon='https://raw.githubusercontent.com/selfhosters/unRAID-CA-templates/master/templates/img/shoko-server.png' -p '8111:8111/tcp' -v '/mnt/user/appdata/shokoserver':'/home/shoko/.shoko/':'rw' -v '/mnt/user/copy/anime/':'/anime':'rw' -v '/mnt/user/downloads/anime/':'/import':'rw' -v '/mnt/user/appdata/shokoserver/plugins':'/home/shoko/.shoko/Shoko.CLI/plugins':'rw' 'shokoanime/server:latest'

file permission on the plugin are the same and it should be loaded.

Include more details from MediaInfo in renamer

System Info:

  • Windows 10 Pro Version 21H1 64bit
  • Shoko Server Daily (2021-08-26)
  • Shoko Desktop Daily (2021-08-26)
  • ScriptRenamer v1.7.2 (latest)

Description:

It would be nice to have more control over the mediainfo of the file in the renamer.
A very useful option to have would be the "Format Profile", to be able to add "Hi10p" and "Hi444pp" to filename when necessary.

Example Mediainfo:

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 Predictive@L5
Format settings                          : CABAC / 16 Ref Frames
...

Renamer does not sorten filename when longer than windows path limit

System Info:

  • Windows 10 Pro Version 21H1 64bit
  • Shoko Server Daily (2021-08-26)
  • Shoko Desktop Daily (2021-08-26)
  • ScriptRenamer v1.7.2 (latest)

Description:

If the folder structure & filename are more than 260 characters, the renamer should trim the rest of the filename.
Windows tends to get weird when files are over the 260 character path limit

Steps to Reproduce:

  • Add a file to renamer
  • Use default script (https://github.com/Mik1ll/ScriptRenamer#sample-script)
  • Include "add '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
  • Filename is not shortened

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.