Getting torrent label in a plugin

Suggestions and discussion of future versions
Post Reply
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Getting torrent label in a plugin

Post by foux »

Hello,

I'm developping a plugin where I'm trying to retrieve a torrent label.

As suggested if this post, I tried

Code: Select all

torrent.get_status(["label"])
Unfortunately, I haven't got the key in return.
Any idea on how to do this?

Thanks.
foux
Member
Member
Posts: 10
Joined: Mon Dec 09, 2013 12:17 pm

Re: Getting torrent label in a plugin

Post by foux »

OK, I've solved this.

We can get the label when accessing the status from the Core, via the torrent_id. But not via the torrent itself
Post Reply