mik1ll / scriptrenamer Goto Github PK
View Code? Open in Web Editor NEWRenamer Plugin for Shoko
License: Other
Renamer Plugin for Shoko
License: Other
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
...
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.
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
probably throw error if null
Add user function to log
ignore tracks can't parse, try parsing title. Probably need to convert to utf8 for titles if trying to parse non-english characters.
Maybe create capitalize words function or something
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.