Giter Club home page Giter Club logo

rls's People

Contributors

ludviglundgren avatar moistari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rls's Issues

PANIC: runtime error: slice bounds out of range [42:7]

panic: runtime error: slice bounds out of range [42:7]
goroutine 69 [running]:
golang.org/x/text/transform.String({0x82c548, 0xc000079470}, {0xc0015f2310, 0x7})
/go/pkg/mod/golang.org/x/[email protected]/transform/transform.go:650 +0xbe5
github.com/moistari/rls.MustNormalize(...)
/go/pkg/mod/github.com/moistari/[email protected]/rls.go:1013
main.getFormattedTitle({0x9, {0x0, 0x0}, {0xc0015f2290, 0xd}, {0xc0015f2310, 0x7}, {0x0, 0x0}, {0x0, ...}, ...})
/app/main.go:256 +0xc6
main.processReleasesLoop(0xc000407080?, {{0x0, 0x0}, {0xc00062e498, 0x11}, 0x1f90, {0xc0002ff9fc, 0x4}, {0xc0002ffa00, 0x8}, ...})
/app/main.go:146 +0x745
created by main.(*clientmap).getEntries
/app/main.go:106 +0x345

Move HDR from Codecs

Currently HDR/DV etc are parsed into Codecs and it would make more sense for at least my use case to have it separate in its own field like HDR.

Example use case:

autobrr parses a release and the filters check for eg Match HDR. If it matches, good - but if not the rejection will have both the actual video codec and the hdr in the rejection message like hdr not matching. wanted: [HDR] got: [DV, x265].

This is in the case of using the Match HDR filter in autobrr. It has the reverse as well, Except HDR to skip certain types or all HDR variants.

It's a minor thing but would be a nice improvement.

WARNING: DATA RACE : rls.MustNormalize()

==================
WARNING: DATA RACE
Write at 0x00c000149010 by goroutine 27:
runtime.slicecopy()
C:/Program Files/Go/src/runtime/slice.go:307 +0x0
github.com/moistari/rls.Collapser.Transform()
C:/Users/egg/go/pkg/mod/github.com/moistari/[email protected]/rls.go:1072 +0x244
github.com/moistari/rls.(*Collapser).Transform()
:1 +0xdc
golang.org/x/text/transform.(*chain).Transform()
C:/Users/egg/go/pkg/mod/golang.org/x/[email protected]/transform/transform.go:422 +0x5e7
golang.org/x/text/transform.String()
C:/Users/egg/go/pkg/mod/golang.org/x/[email protected]/transform/transform.go:601 +0x1f8
github.com/moistari/rls.MustNormalize()
C:/Users/egg/go/pkg/mod/github.com/moistari/[email protected]/rls.go:1013 +0xe5

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.