Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Video support #333

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ eggs/
/.project
/.pydevproject

# VSCode IDE
.vscode/*

# Pycharm IDE
.idea/*

Expand Down
3 changes: 2 additions & 1 deletion lisp/backend/media_element.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of Linux Show Player
#
# Copyright 2018 Francesco Ceruti <ceppofrancy@gmail.com>
# Copyright 2024 Francesco Ceruti <ceppofrancy@gmail.com>
#
# Linux Show Player is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -36,6 +36,7 @@ class MediaType(Enum):
Audio = 0
Video = 1
AudioAndVideo = 2
Unknown = 4


class MediaElement(HasProperties):
Expand Down
56 changes: 28 additions & 28 deletions lisp/i18n/ts/en/action_cues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<context>
<name>CollectionCue</name>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="110" />
<location filename="../../../plugins/action_cues/collection_cue.py" line="111" />
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="111" />
<location filename="../../../plugins/action_cues/collection_cue.py" line="112" />
<source>Remove</source>
<translation>Remove</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="180" />
<location filename="../../../plugins/action_cues/collection_cue.py" line="186" />
<source>Cue</source>
<translation>Cue</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="181" />
<location filename="../../../plugins/action_cues/collection_cue.py" line="187" />
<source>Action</source>
<translation>Action</translation>
</message>
Expand Down Expand Up @@ -65,43 +65,43 @@
<context>
<name>CueCategory</name>
<message>
<location filename="../../../plugins/action_cues/index_action_cue.py" line="40" />
<location filename="../../../plugins/action_cues/volume_control.py" line="55" />
<source>Action cues</source>
<translation type="unfinished" />
</message>
</context>
<context>
<name>CueName</name>
<message>
<location filename="../../../plugins/action_cues/seek_cue.py" line="40" />
<source>Seek Cue</source>
<translation>Seek Cue</translation>
<location filename="../../../plugins/action_cues/stop_all.py" line="29" />
<source>Stop-All</source>
<translation>Stop-All</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="43" />
<source>Collection Cue</source>
<translation>Collection Cue</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/stop_all.py" line="29" />
<source>Stop-All</source>
<translation>Stop-All</translation>
<location filename="../../../plugins/action_cues/seek_cue.py" line="40" />
<source>Seek Cue</source>
<translation>Seek Cue</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/command_cue.py" line="41" />
<source>Command Cue</source>
<translation>Command Cue</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/volume_control.py" line="54" />
<source>Volume Control</source>
<translation>Volume Control</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/index_action_cue.py" line="39" />
<source>Index Action</source>
<translation>Index Action</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/volume_control.py" line="54" />
<source>Volume Control</source>
<translation>Volume Control</translation>
</message>
</context>
<context>
<name>IndexActionCue</name>
Expand Down Expand Up @@ -167,35 +167,35 @@
<context>
<name>SettingsPageName</name>
<message>
<location filename="../../../plugins/action_cues/seek_cue.py" line="59" />
<source>Seek Settings</source>
<translation>Seek Settings</translation>
<location filename="../../../plugins/action_cues/stop_all.py" line="43" />
<source>Stop Settings</source>
<translation>Stop Settings</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/collection_cue.py" line="108" />
<location filename="../../../plugins/action_cues/collection_cue.py" line="109" />
<source>Edit Collection</source>
<translation>Edit Collection</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/stop_all.py" line="43" />
<source>Stop Settings</source>
<translation>Stop Settings</translation>
<location filename="../../../plugins/action_cues/seek_cue.py" line="59" />
<source>Seek Settings</source>
<translation>Seek Settings</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/command_cue.py" line="118" />
<source>Command</source>
<translation>Command</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/volume_control.py" line="129" />
<source>Volume Settings</source>
<translation>Volume Settings</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/index_action_cue.py" line="65" />
<source>Action Settings</source>
<translation>Action Settings</translation>
</message>
<message>
<location filename="../../../plugins/action_cues/volume_control.py" line="129" />
<source>Volume Settings</source>
<translation>Volume Settings</translation>
</message>
</context>
<context>
<name>StopAll</name>
Expand Down
16 changes: 8 additions & 8 deletions lisp/i18n/ts/en/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ do not forget to edit the path later.</source>
<context>
<name>ControllerSettings</name>
<message>
<location filename="../../../plugins/controller/protocols/midi.py" line="122" />
<location filename="../../../plugins/controller/protocols/keyboard.py" line="79" />
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="../../../plugins/controller/protocols/midi.py" line="123" />
<location filename="../../../plugins/controller/protocols/keyboard.py" line="80" />
<source>Remove</source>
<translation>Remove</translation>
</message>
Expand Down Expand Up @@ -280,19 +280,19 @@ do not forget to edit the path later.</source>
<translation type="unfinished" />
</message>
<message>
<location filename="../../../plugins/controller/protocols/keyboard.py" line="44" />
<source>Keyboard Shortcuts</source>
<translation>Keyboard Shortcuts</translation>
<location filename="../../../plugins/controller/protocols/osc.py" line="230" />
<source>OSC Controls</source>
<translation type="unfinished" />
</message>
<message>
<location filename="../../../plugins/controller/protocols/midi.py" line="64" />
<source>MIDI Controls</source>
<translation>MIDI Controls</translation>
</message>
<message>
<location filename="../../../plugins/controller/protocols/osc.py" line="230" />
<source>OSC Controls</source>
<translation type="unfinished" />
<location filename="../../../plugins/controller/protocols/keyboard.py" line="44" />
<source>Keyboard Shortcuts</source>
<translation>Keyboard Shortcuts</translation>
</message>
</context>
</TS>
Loading