rutorrent-flutter icon indicating copy to clipboard operation
rutorrent-flutter copied to clipboard

[WIP] Add Zeroconf support.

Open Piero512 opened this issue 4 years ago • 4 comments

Hey guys

I have created a little addition where the app is able to discover ruTorrent servers through Zeroconf (provided the user has configured them beforehand).

Right now the service type I am using is: _rutorrent_mobile._tcp. Also, I am specifying an optional TXT record: 'protocol' Right now the algorithm for building the url to access ruTorrent is: if port == 80: http:// if port == 443 https:// else if protocol is not null $protocol://: else http://:

Piero512 avatar Mar 11 '21 23:03 Piero512

@Piero512 I guess you pushed a fresh copy of the iOS root folder as well, which overwrites some of the changes made to the plist and the Podfile required for some of the packages like vlc to function properly, and also the icon for the app has been replaced with the default flutter icon. It would be great if you could revert the changes made to the root iOS folder and only push the changes made inside the lib and pubspec.yaml.

pratikbaid3 avatar Mar 12 '21 09:03 pratikbaid3

Huh, it's just that the README on the project asked for that, but will try to rebase my changes.

Piero512 avatar Mar 12 '21 12:03 Piero512

The patch is much smaller now.

Piero512 avatar Mar 12 '21 13:03 Piero512

@Piero512 actually the vlc package requires the swift version of the ios root (https://pub.dev/packages/flutter_vlc_player/versions/3.0.3) folder which wasn't merged in the master earlier. Since that is now done, I guess the first two steps are redundant and would need to be removed.

Screenshot 2021-03-12 at 6 41 00 PM

pratikbaid3 avatar Mar 12 '21 13:03 pratikbaid3