Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
5rahim committed Nov 18, 2024
1 parent cd53023 commit ad5f4a3
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ Seanime is a **media server** with a web interface for watching anime, reading m
- Offline mode with caching for metadata, images
- Scan your local library in seconds, no renaming needed
- Torrent search engine with support for Nyaa, Anime Tosho, SeaDex & extensions
- Support for qBittorrent, Transmission, Torbox, Real-Debrid for downloading
- Support for qBittorrent, Transmission, Torbox or Real-Debrid for downloading
- Auto-downloading for new episodes with custom filters
- MPV, VLC, MPC-HC, and mobile player app support for watching
- Transcoding and direct play for streaming to any device web browser
- Stream torrents directly to your media player without downloading using Bittorrent, Torbox or Real-Debrid
- Online streaming with support for multiple sources & extensions
- Read and download manga chapters with support for multiple sources & extensions
- Extension system for adding new sources
- Schedule for tracking upcoming or missed episodes
- Customizable UI
- More...

## Get started
Expand Down
5 changes: 2 additions & 3 deletions internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package constants
import "time"

const (
Version = "2.3.0"
VersionName = "Sangatsu"
//VersionName = "Aoi" // 2.3.0
Version = "2.3.0"
VersionName = "Ao"
GcTime = time.Minute * 30
ConfigFileName = "config.toml"
MalClientId = "51cb4294feb400f3ddc66a30f9b9a00f"
Expand Down
3 changes: 1 addition & 2 deletions internal/core/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ func PrintHeader() {
var (
title strings.Builder
titles = []string{"Seanime", constants.Version, constants.VersionName}
//colors = []string{"#5243cb", "#5243cb", "#2b6ec7", "#14F9D5"}
colors = []string{"#5243cb", "#5243cb", "#c76b44", "#14F9D5"}
colors = []string{"#5243cb", "#5243cb", "#2b6ec7", "#14F9D5"}
)

for i, v := range titles {
Expand Down
2 changes: 1 addition & 1 deletion internal/updater/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func TestUpdater_DownloadLatestRelease(t *testing.T) {

updater := New("0.2.0", util.NewLogger())
updater := New("0.2.0", util.NewLogger(), nil)

//tempDir := "E:\\SEANIME-REPO-TEST"
tempDir := t.TempDir()
Expand Down
21 changes: 21 additions & 0 deletions internal/updater/updater_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package updater

import (
"github.com/stretchr/testify/require"
"seanime/internal/util"
"testing"
)

func TestUpdater_GetLatestUpdate(t *testing.T) {

docsUrl = "https://seanime.rahim.app/api/releases" // simulate dead endpoint

u := New("2.0.2", util.NewLogger(), nil)

update, err := u.GetLatestUpdate()
require.NoError(t, err)

require.NotNil(t, update)

util.Spew(update)
}

0 comments on commit ad5f4a3

Please sign in to comment.