Code Monkey home page Code Monkey logo

qbittorrent_api's People

Contributors

bhaan avatar yosemiteyss avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

bhaan xxzj990

qbittorrent_api's Issues

The method getTrackers has some thing wrong, the column tier can't convert to int.

Describe the bug
The method getTrackers has some thing wrong, the column tier can't convert to int.

Plugin version

  • Version: [e.g. 1.0.6]

To Reproduce

List trackers =
await controller.client.torrents.getTrackers(hash: torrentInfo.hash!);

Expected behavior
"""
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'String' is not a subtype of type 'int?' in type cast
#0 _$TrackerFromJson (package:qbittorrent_api/src/v2/torrents/dto/tracker.g.dart:12:26)
#1 new Tracker.fromJson (package:qbittorrent_api/src/v2/torrents/dto/tracker.dart:20:7)
#2 TorrentsController.getTrackers. (package:qbittorrent_api/src/v2/torrents/torrents_controller.dart:80:36)
#3 MappedListIterable.elementAt (dart:_internal/iterable.dart:425:31)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:354:26)
#5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#6 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#7 new List.of (dart:core-patch/array_patch.dart:39:18)
#8 ListIterable.toList (dart:_internal/iterable.dart:224:7)
#9 TorrentsController.getTrackers (package:qbittorrent_api/src/v2/torrents/torrents_controller.dart:80:49)

#10 QBittorrentPage._openTorrentInfoDetail (package:harvest/app/q_bittorrent/view.dart:774:9)

"""

Screenshots
image
image

application.getApplicationPreferences() proxy_type error

Describe the bug
get json like -> "proxy_type": "None",

Invalid argument(s): None is not one of the supported values: 0, 1, 2, 3, 4, 5

Plugin version

  • Version: 1.2.0

To Reproduce
use qb 4.6.4

Expected behavior
Get the correct proxy_type field.

Screenshots
None.

Platform (please complete the following information):

  • OS: Unraid - Docker
  • Version: 6.12.10

getContents has wrong

Describe the bug
getContents get the file Priority get a strange mistake

Plugin version

  • Version: [1.0.7]

To Reproduce

List contents =
await controller.client.torrents.getContents(hash: torrentInfo.hash!);

I got a not esxit Priority: 4

Expected behavior
image

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.