-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from schdck/dev
Release: v1.0-beta3
- Loading branch information
Showing
28 changed files
with
693 additions
and
316 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Net; | ||
|
||
namespace RemoteFlix.Base.Classes | ||
{ | ||
public class NetworkInterface | ||
{ | ||
public string Name { get; } | ||
public IPAddress InterNetworkAddress { get; } | ||
|
||
public NetworkInterface(string name, IPAddress interNetworkAddress) | ||
{ | ||
Name = name; | ||
InterNetworkAddress = interNetworkAddress; | ||
} | ||
|
||
public override string ToString() | ||
{ | ||
return $"{InterNetworkAddress.ToString()} ({Name})"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using RemoteFlix.Base.Classes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RemoteFlix.Base.Players | ||
{ | ||
public class PlayerYoutube : BasePlayer | ||
{ | ||
public override string Id => "youtube"; | ||
public override string Name => "YouTube"; | ||
|
||
public override IntPtr? GetHandle() | ||
{ | ||
return null; | ||
} | ||
|
||
public override IEnumerable<PlayerCommand> Commands => new PlayerCommand[] | ||
{ | ||
new PlayerCommand("play_pause", "Play / Pause", "k"), | ||
new PlayerCommand("volume_up", "Volume UP", "{UP}"), | ||
new PlayerCommand("volume_down", "Volume Down", "{DOWN}"), | ||
new PlayerCommand("next_video", "Next video", "+n"), | ||
new PlayerCommand("previous_video", "Previous video", "+p"), | ||
new PlayerCommand("mute_unmute", "Mute / Unmute", "m"), | ||
new PlayerCommand("enter_full_screen", "Full screen", "f"), | ||
new PlayerCommand("exit_full_screen", "Exit full screen", "{ESC}"), | ||
new PlayerCommand("go_back", "Go back", "{LEFT}"), | ||
new PlayerCommand("go_forward", "Go forward", "{RIGHT}"), | ||
new PlayerCommand("faster", "Go faster", ">"), | ||
new PlayerCommand("slower", "Go slower", "<"), | ||
new PlayerCommand("closed_captions", "Enable / Disable CC", "c"), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.