Giter Club home page Giter Club logo

swaglyricsgui's Introduction

Discord Server

SwagLyricsGUI

A cross-platform, real-time lyrics fetching application.

screenshot

About

SwagLyricsGUI is a GUI wrapper for super fast SwagLyrics-For-Spotify library. It contains 3 themes and auto scroll.

Installing

Download appropriate file for your system here.

Make sure you have installed Python 3.6+, if not download it here

Windows

Follow setup and simply open SwagLyricsGUI application

Linux

Currently pre-built binaries are wrapped in AppImage.

Running file should work out of the box, but sometimes you might get Permissions denied, or Could not display SwagLyricsGUI.AppImage, in that case use chmod +x SwagLyricsGUI-x86_64.AppImage.

Build from source

SwagLyricsGUI is a multilingual application. It means that it uses multiple programming languages in it's core, C# for controlling UI and Python for lyrics fetching backend.

Application is written in AvaloniaUI framework.

Prerequisites

  • .NET Core 3.1 SDK
  • Minimum Python 3.6
  • Optionally download SwagLyrics-For-Spotify library, but application will do that for you in first run.

Building

Open .sln file in Visual Studio and hit Start or use CLI .NET Core dotnet build in root directory and dotnet run for selected project (Tests or GUI).

Example for running GUI using dotnet

dotnet build in root git directory

cd SwagLyricsGUI

dotnet run

Contributing

Feel free to contribute! We don't have any guide for this yet, but with application growth it might show up :)

swaglyricsgui's People

Contributors

flabbet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swaglyricsgui's Issues

AppImage does not start

On Xubuntu 18.04
image

It looks like you are trying to install swaglyrics on spot using pip. On Xubuntu 18.04, Ubuntu 18.04 and above, python does not include a pip module by default.

AppImage tests failed with this error (related to C#)

===========================================
============= TRYING TO RUN ===============
===========================================
/tmp/.mount_BeingTsTRsEG/AppRun: POSIX shell script, ASCII text executable
-rwxr-xr-x 1 root root 206 Jul 20 14:14 /tmp/.mount_BeingTsTRsEG/AppRun
kernel.unprivileged_userns_clone = 1
Failed to load �]��, error: /var/tmp/.net/SwagLyricsGUI/bvctffl2.1wn/libhostfxr.so: failed to map segment from shared object
The library libhostfxr.so was found, but loading it from /var/tmp/.net/SwagLyricsGUI/bvctffl2.1wn/libhostfxr.so failed
  - Installing .NET Core prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=2063370
NUMBER_OF_WINDOWS: 0
ERROR: Could not find a single window on screen :-(

Possibly the bundle libhostfxr.so was not bundled on the AppImage, adding that library should fix the error.

PS: Ideally, please package swaglyrics and python3 into the appimage. Sandboxed appimages will not be able to run /usr/bin/python

Couldn't get lyrics. Having problem with Jetbrains Toolbox

I have JetBrains Toolbox installed too but I don't know why it is related.

error

Before this I application did not open at all after install. I checked Event Viewer and found out that I needed admin privileges. I re-run installer as admin and applicatin now starts but gives this error thingy.

CoreCLR Version: 4.700.20.26901
.NET Core Version: 3.1.6
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Access to the path 'C:\Program Files (x86)\SwagLyricsGUI\nmoexge3.tmp' is denied. (C:\Program Files (x86)\SwagLyricsGUI\SwagLyricsGUI.dll.config)
 ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\SwagLyricsGUI\nmoexge3.tmp' is denied.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.Internal.TempFileCollection.EnsureTempNameCreated()
   at System.IO.Internal.TempFileCollection.get_BasePath()
   at System.IO.Internal.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
   at System.IO.Internal.TempFileCollection.AddExtension(String fileExtension)
   at System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename)
   at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.ClientConfigurationHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.UpdateConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   --- End of inner exception stack trace ---
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
   at System.Configuration.Configuration.Save()
   at SwagLyricsGUI.ViewModels.MainWindowViewModel.set_ThemeIndex(Int32 value)
   at SwagLyricsGUI.ViewModels.MainWindowViewModel..ctor()
   at SwagLyricsGUI.App.OnFrameworkInitializationCompleted()
   at Avalonia.Controls.AppBuilderBase`1.Setup()
   at Avalonia.Controls.AppBuilderBase`1.SetupWithLifetime(IApplicationLifetime lifetime)
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
   at SwagLyricsGUI.Program.Main(String[] args)

Windows 10 OS Build 19041.630

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.