Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:

- name: Install fyne
run: go install fyne.io/fyne/v2/cmd/fyne@latest

- name: Download Android SDK
run: wget https://dl.google.com/android/repository/android-ndk-r23b-linux.zip && unzip android-ndk-r23b-linux.zip

- name: Package (Android)
run: APATH=$(readlink -e android-ndk-r23b) && cd cmd/go2tv && GO386='softfloat' ANDROID_NDK_HOME=$APATH fyne package -os android -name Go2TV -appID com.alexballas.go2tv -icon ../../assets/go2tv-icon-android.png && mv Go2TV.apk ../../
- uses: actions/upload-artifact@v2
run: APATH=$(readlink -e android-ndk-r23b) && cd cmd/go2tv && GO386='softfloat' ANDROID_NDK_HOME=$APATH fyne package -os android -name Go2TV -appID app.go2tv.go2tv -icon ../../assets/go2tv-icon-android.png && mv Go2TV.apk ../../

- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_android
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
sudo apt update
sudo apt install -y xorg-dev
sudo apt clean
wget -nv https://go.dev/dl/go1.20.4.linux-armv6l.tar.gz
tar -xzf go1.20.4.linux-armv6l.tar.gz
rm go1.20.4.linux-armv6l.tar.gz
wget -nv https://go.dev/dl/go1.23.4.linux-armv6l.tar.gz
tar -xzf go1.23.4.linux-armv6l.tar.gz
rm go1.23.4.linux-armv6l.tar.gz
export GOROOT=/go
cd /go2tv_dir
/go/bin/go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_arm
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
sudo apt update
sudo apt install -y xorg-dev
sudo apt clean
wget -nv https://go.dev/dl/go1.20.4.linux-arm64.tar.gz
tar -xzf go1.20.4.linux-arm64.tar.gz
rm go1.20.4.linux-arm64.tar.gz
wget -nv https://go.dev/dl/go1.23.4.linux-arm64.tar.gz
tar -xzf go1.23.4.linux-arm64.tar.gz
rm go1.23.4.linux-arm64.tar.gz
export GOROOT=/go
cd /go2tv_dir
/go/bin/go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_arm64
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:

- name: Package (Linux)
run: GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go
- uses: actions/upload-artifact@v2

- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_amd64
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-mac-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
run: go install fyne.io/fyne/v2/cmd/fyne@latest

- name: Package (macOS)
run: cd cmd/go2tv && fyne package --release -os darwin -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.app ../../
run: cd cmd/go2tv && fyne package --release -os darwin -icon ../../assets/go2tv-icon.png && mv go2tv.app ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_macOS_amd64
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
run: go install fyne.io/fyne/v2/cmd/fyne@latest

- name: Package (macOS)
run: cd cmd/go2tv && GOARCH=arm64 fyne package --release -os darwin -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.app ../../
run: cd cmd/go2tv && GOARCH=arm64 fyne package --release -os darwin -icon ../../assets/go2tv-icon.png && mv go2tv.app ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_macOS_arm64
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
run: go install fyne.io/fyne/v2/cmd/fyne@latest

- name: Package (Windows)
run: cd cmd/go2tv && CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ fyne package --release --appID app.go2tv -os windows -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.exe ../../
run: cd cmd/go2tv && CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ fyne package --release --appID app.go2tv.go2tv -os windows -icon ../../assets/go2tv-icon.png && mv go2tv.exe ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_windows_amd64
path: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.1-bullseye
FROM golang:1.23

ARG DEBIAN_FRONTEND=noninteractive
RUN \
Expand Down
Binary file added assets/go2tv-icon-desktop-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
63 changes: 63 additions & 0 deletions assets/linux/app.go2tv.go2tv.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>app.go2tv.go2tv</id>

<name>Go2TV</name>
<developer_name>Alexandros Ballas</developer_name>
<summary>Cast media files to UPnP/DLNA Media Renderers and Smart TVs</summary>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>

<supports>
<control>pointing</control>
<control>keyboard</control>
</supports>

<description>
<p>Go2TV is a lightweight app designed to cast media files from your device directly to a Smart TV or any DLNA-compatible device on the same network. It supports various file formats and allows seamless streaming of videos, music, or images without the need for complicated setups or additional hardware. With its intuitive interface, Go2TV makes it simple to browse and select files, enabling users to enjoy their favorite content on the big screen with just a few taps. Perfect for casual media sharing or presentations, it's a convenient tool for enhancing your home entertainment experience.</p>
</description>

<launchable type="desktop-id">app.go2tv.go2tv.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/alexballas/go2tv/devel/assets/screenshots/Screenshot_light.png</image>
<caption>Main window (light mode)</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/alexballas/go2tv/devel/assets/screenshots/Screenshot_dark.png</image>
<caption>Main window (dark mode)</caption>
</screenshot>
</screenshots>

<url type="bugtracker">https://github.com/alexballas/go2tv/issues</url>
<url type="donation">https://ko-fi.com/alexballas</url>
<url type="homepage">https://go2tv.app</url>


<content_rating type="oars-1.1"/>

<releases>
<release version="1.17.1" date="2024-09-05" type="stable">
<description>
<ul>
<li>Update assets to follow the packaging guidelines for Linux GUI applications..</li>
</ul>
</description>
<url type="details">https://github.com/alexballas/go2tv/releases/tag/v1.17.1</url>
</release>
<release version="1.17.0" date="2024-09-05" type="stable">
<description>
<ul>
<li>Added support for Chinese language with an option for a fully localized Chinese UI.</li>
<li>Introduced a new language settings feature, offering both English and Chinese translations.</li>
<li>Implemented the ability to select subtitles directly from MKV and MP4 containers when available.</li>
<li>Added the option to specify the FFmpeg path in settings.</li>
<li>Now using faster FFmpeg presets for transcoding.</li>
</ul>
</description>
<url type="details">https://github.com/alexballas/go2tv/releases/tag/v1.17.0</url>
</release>
</releases>

</component>
12 changes: 12 additions & 0 deletions assets/linux/app.go2tv.go2tv.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application

Name=Go2TV
GenericName=Media Streaming
Comment=Cast media files to UPnP/DLNA Media Renderers and Smart TVs.
Categories=AudioVideo;Video;TV;Music;
Keywords=streaming;video;audio;media;

Icon=app.go2tv.go2tv
Exec=go2tv
Terminal=false
Loading
Loading