Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

61

Downloads of v 2.0.7:

9

Last Update:

20 Jun 2025

Package Maintainer(s):

Software Author(s):

  • vedant-asati03

Tags:

Aurras Music Player

Downloads:

61

Downloads of v 2.0.7:

9

Maintainer(s):

Software Author(s):

  • vedant-asati03

Aurras Music Player

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by vedant-asati03. The inclusion of vedant-asati03 trademark(s), if any, upon this webpage is solely to identify vedant-asati03 goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Failed

Details

Scan Testing Pending

WARNING

This package was rejected on 10 Jul 2025. The reviewer ferret03 has listed the following reason(s):

ferret03 (maintainer) on 20 Jun 2025 07:41:17 +00:00:

User 'ferret03' (maintainer) submitted package.

chocolatey-ops (reviewer) on 20 Jun 2025 08:13:54 +00:00:

aurras has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...
  • ProjectUrl and ProjectSourceUrl are typically different, but not always. Please ensure that projectSourceUrl is pointing to software source code or remove the field from the nuspec. More...
Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • The package maintainer field (owners) matches the software author field (authors) in the nuspec. The reviewer will ensure that the package maintainer is also the software author. More...

chocolatey-ops (reviewer) on 20 Jun 2025 09:35:35 +00:00:

aurras has failed automated package testing (verification).
Please visit https://gist.github.com/choco-bot/2a4def69560eabe23134bd50c15171c8 for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey-community/chocolatey-test-environment
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

ferret03 (maintainer) on 20 Jun 2025 18:06:20 +00:00:

Trying to fix the environment error
Verification Status Change - Verification tests have been set to rerun.

chocolatey-ops (reviewer) on 20 Jun 2025 19:53:09 +00:00:

aurras has failed automated package testing (verification).
Please visit https://gist.github.com/choco-bot/18582341fa3b0a9510cfc47bcfce2e09 for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey-community/chocolatey-test-environment
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

chocolatey-ops (reviewer) on 10 Jul 2025 08:14:34 +00:00:

We've found aurras v2.0.7 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

ferret03 (maintainer) on 10 Jul 2025 17:48:04 +00:00:

Rejecting this release, working on the fix for next release.
Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

Aurras is a powerful command-line music player that supports:

  • YouTube Music streaming and downloads
  • Spotify integration for playlists and recommendations
  • Rich terminal UI with themes and customization
  • Offline playback with local music library
  • Playlist management and synchronization
  • Lyrics display and caching
  • Cross-platform support (Windows, Linux, macOS)

The Windows version includes a bundled MPV library for zero-configuration audio playback.

Dependencies:

  • Python 3.12+ (installed automatically via python312 package)
  • FFmpeg (installed automatically)

tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'aurras'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Write-Host "Starting Aurras installation..."
Write-Host "Package: $packageName"
Write-Host "Tools directory: $toolsDir"
Write-Host "Current working directory: $(Get-Location)"
Write-Host "PowerShell version: $($PSVersionTable.PSVersion)"

$packageParameters = @{}
try {
    $packageParameters = Get-PackageParameters
    Write-Host "Package parameters received: $($packageParameters.Keys -join ', ')"
} catch {
    Write-Warning "Could not get package parameters (this is normal outside Chocolatey context): $_"
    $packageParameters = @{
        'SkipPythonCheck' = $false
        'IgnoreInstallErrors' = $false
        'PythonTimeout' = 300
    }
}

Write-Host "Checking Python installation..."
$pythonExe = $null
$timeoutSeconds = if ($packageParameters.PythonTimeout) { $packageParameters.PythonTimeout } else { 600 }
Write-Host "Using timeout: $timeoutSeconds seconds"

try {
    Write-Host "Looking for 'python' command..."
    $pythonExe = Get-Command python -ErrorAction SilentlyContinue
    if (-not $pythonExe) {
        Write-Host "'python' not found, looking for 'python3'..."
        $pythonExe = Get-Command python3 -ErrorAction SilentlyContinue
    }
    if (-not $pythonExe) {
        Write-Host "'python3' not found, looking for 'py'..."
        $pythonExe = Get-Command py -ErrorAction SilentlyContinue
    }
    if (-not $pythonExe) {
        Write-Host "Trying Python launcher with specific version..."
        $pyLauncher = Get-Command py -ErrorAction SilentlyContinue
        if ($pyLauncher) {
            try {
                $versionCheck = & py -3.12 --version 2>&1
                if ($LASTEXITCODE -eq 0) {
                    Write-Host "Found Python 3.12 via launcher"
                    $pythonExe = @{ Source = "py -3.12" }
                }
            } catch {
                Write-Host "Python launcher check failed: $_"
            }
        }
    }
    if (-not $pythonExe) {
        Write-Host "Standard Python commands not found. Checking Python installation paths..."
        
        $commonPaths = @(
            "${env:ProgramFiles}\Python312\python.exe",
            "${env:ProgramFiles(x86)}\Python312\python.exe",
            "${env:LOCALAPPDATA}\Programs\Python\Python312\python.exe",
            "${env:LOCALAPPDATA}\Programs\Python\Python312-32\python.exe",
            "$env:ProgramData\chocolatey\lib\python312\tools\python.exe",
            "${env:ProgramFiles}\Python\Python312\python.exe"
        )
        
        foreach ($path in $commonPaths) {
            if (Test-Path $path) {
                Write-Host "Found Python at: $path"
                $pythonExe = @{ Source = $path }
                break
            }
        }
    }
    
    if (-not $pythonExe) {
        Write-Host "Python not found in PATH or common locations." -ForegroundColor Yellow
        Write-Host "Note: python312 should be installed as a dependency." -ForegroundColor Cyan
        Write-Host "If you see this message, there may be an issue with the Python dependency installation." -ForegroundColor Yellow
        
        if ($packageParameters.SkipPythonCheck) {
            Write-Warning "Python not found but SkipPythonCheck specified. Continuing..."
            $pythonExe = @{ Source = "python" }
        } else {
            Write-Warning "Python not found. This is unexpected since python312 is a dependency."
            Write-Host "Attempting to continue anyway..." -ForegroundColor Yellow
            $pythonExe = $null
        }
    } else {
        Write-Host "Found Python executable: $($pythonExe.Source)"
        $pythonVersion = & $pythonExe.Source --version 2>&1
        Write-Host "Found Python: $pythonVersion" -ForegroundColor Green
        
        # Verify Python version is 3.12+
        if ($pythonVersion -match "Python (\d+)\.(\d+)") {
            $majorVersion = [int]$matches[1]
            $minorVersion = [int]$matches[2]
            if ($majorVersion -lt 3 -or ($majorVersion -eq 3 -and $minorVersion -lt 12)) {
                Write-Warning "Found Python $($matches[0]), but Python 3.12+ is recommended for Aurras"
                Write-Host "Continuing anyway, but you may encounter compatibility issues..." -ForegroundColor Yellow
            } else {
                Write-Host "Python version check passed: $($matches[0])" -ForegroundColor Green
            }
        } else {
            Write-Warning "Could not parse Python version from: $pythonVersion"
        }
        
        Write-Host "Checking pip availability..."
        $pipVersion = & $pythonExe.Source -m pip --version 2>&1
        if ($LASTEXITCODE -eq 0) {
            Write-Host "Pip version: $pipVersion" -ForegroundColor Green
        } else {
            Write-Warning "Pip check failed, but continuing..."
        }
    }
} catch {
    Write-Host "Python detection failed: $_" -ForegroundColor Red
    Write-Host "Solutions:" -ForegroundColor Yellow
    Write-Host "  1. Restart PowerShell session" -ForegroundColor Cyan
    Write-Host "  2. Check if python312 dependency installed correctly" -ForegroundColor Cyan
    Write-Host "  3. Use: choco install aurras --params '/SkipPythonCheck'" -ForegroundColor Cyan
    
    if (-not $packageParameters.SkipPythonCheck) {
        Write-Warning "Python detection failed. Attempting to continue anyway..."
        Write-Host "Installation may fail if Python is not available." -ForegroundColor Yellow
        $pythonExe = $null
    }
}

function Install-AurrasPackage {
    param(
        [string]$PythonCommand,
        [int]$TimeoutSeconds = 600,
        [hashtable]$PackageParameters = @{}
    )
    
    Write-Host "Installing aurras..."
    
    # Verify Python actually works, not just exists
    try {
        Write-Host "Verifying Python functionality..."
        $pythonWorking = & $PythonCommand -c "print('OK')" 2>&1
        if ($pythonWorking -notlike "*OK*") {
            throw "Python not responding correctly: $pythonWorking"
        }
        Write-Host "Python verification passed" -ForegroundColor Green
    } catch {
        Write-Error "Python executable found but not working: $_"
        return $false
    }
    
    # Primary installation method with network configuration for corporate environments
    try {
        $pipArgs = @(
            '-m', 'pip', 'install', 
            'aurras', 
            '--upgrade',
            '--user',  # Install to user directory to avoid permission issues
            '--timeout', $TimeoutSeconds,
            '--no-cache-dir',  # Avoid cache-related issues
            '--trusted-host', 'pypi.org',
            '--trusted-host', 'pypi.python.org', 
            '--trusted-host', 'files.pythonhosted.org'
        )
        
        Write-Host "Running: $PythonCommand $($pipArgs -join ' ')"
        
        # Use retry logic for antivirus/file access issues
        $installSuccess = Install-WithRetry -ScriptBlock {
            & $PythonCommand @pipArgs
            if ($LASTEXITCODE -ne 0) {
                throw "pip install failed with exit code $LASTEXITCODE"
            }
        }
        
        if ($installSuccess) {
            Write-Host "Aurras installed successfully!" -ForegroundColor Green
            return $true
        }
        
    } catch {
        Write-Warning "Primary installation failed: $_"
        
        # Fallback method - try system-wide installation without --user flag
        try {
            Write-Host "Attempting fallback installation (system-wide)..." -ForegroundColor Yellow
            $fallbackArgs = @(
                '-m', 'pip', 'install', 'aurras', '--upgrade', 
                '--timeout', $TimeoutSeconds,
                '--trusted-host', 'pypi.org',
                '--trusted-host', 'pypi.python.org', 
                '--trusted-host', 'files.pythonhosted.org'
            )
            
            Write-Host "Running: $PythonCommand $($fallbackArgs -join ' ')"
            
            $fallbackSuccess = Install-WithRetry -ScriptBlock {
                & $PythonCommand @fallbackArgs
                if ($LASTEXITCODE -ne 0) {
                    throw "Fallback installation failed with exit code $LASTEXITCODE"
                }
            }
            
            if ($fallbackSuccess) {
                Write-Host "Fallback installation succeeded!" -ForegroundColor Green
                return $true
            }
            
        } catch {
            Write-Error "Both installation methods failed: $_"
            Write-Host "Troubleshooting tips:" -ForegroundColor Yellow
            Write-Host "  1. Check internet connection and firewall settings" -ForegroundColor Cyan
            Write-Host "  2. Try manually: $PythonCommand -m pip install aurras" -ForegroundColor Cyan
            Write-Host "  3. Use parameter: --params '/IgnoreInstallErrors'" -ForegroundColor Cyan
            return $false
        }
    }
    return $false
}

function Install-WithRetry {
    param(
        [scriptblock]$ScriptBlock, 
        [int]$MaxRetries = 3
    )
    
    for ($i = 1; $i -le $MaxRetries; $i++) {
        try {
            & $ScriptBlock
            return $true
        } catch {
            if ($i -eq $MaxRetries) { 
                Write-Error "All $MaxRetries attempts failed: $_"
                return $false
            }
            Write-Warning "Attempt $i failed, retrying in 2 seconds... ($_)"
            Start-Sleep -Seconds 2
        }
    }
    return $false
}

function Test-AurrasInstallation {
    param([string]$PythonCommand)
    
    try {
        # Verify package is installed
        & $PythonCommand -m pip show aurras | Out-Null
        if ($LASTEXITCODE -eq 0) {
            Write-Host "Package verification successful!" -ForegroundColor Green
            return $true
        }
    } catch {
        Write-Warning "Package verification failed: $_"
    }
    return $false
}

Write-Host "Installing Aurras music player..."

if (-not $pythonExe -and -not $packageParameters.SkipPythonCheck) {
    Write-Host "Python is not available. Cannot install Aurras via pip." -ForegroundColor Red
    Write-Host ""
    Write-Host "UNEXPECTED: python312 should have been installed as a dependency." -ForegroundColor Yellow
    Write-Host "This suggests an issue with dependency resolution." -ForegroundColor Yellow
    Write-Host ""
    Write-Host "SOLUTIONS:" -ForegroundColor Yellow
    Write-Host "  Step 1: Restart PowerShell session to refresh PATH" -ForegroundColor Cyan
    Write-Host "  Step 2: Try manually: choco install python312" -ForegroundColor Cyan
    Write-Host "  Step 3: Then retry: choco install aurras" -ForegroundColor Cyan
    Write-Host ""
    Write-Host "Or try: choco install aurras --params '/SkipPythonCheck'" -ForegroundColor Gray
    throw "Python dependency not satisfied. Please install Python first."
}

# Use the detected Python command
$pythonCmd = if ($pythonExe -and $pythonExe.Source) { $pythonExe.Source } else { "python" }
Write-Host "Using Python command: $pythonCmd"

# Install Aurras using the new simplified approach
$installSuccess = Install-AurrasPackage -PythonCommand $pythonCmd -TimeoutSeconds $timeoutSeconds -PackageParameters $packageParameters

if (-not $installSuccess -and -not $packageParameters.IgnoreInstallErrors) {
    throw "Aurras installation failed"
}

# Verify installation
if ($installSuccess) {
    Test-AurrasInstallation -PythonCommand $pythonCmd
}

Write-Host "Verifying installation..."

try {
    Write-Host "Determining Python Scripts directory..."
    $pythonScriptsDir = $null
    
    if ($pythonExe -and $pythonExe.Source) {
        # Handle Python launcher commands differently
        if ($pythonExe.Source -like "py *") {
            $pythonScriptsDir = & py -3.12 -c "import sys; import os; print(os.path.join(sys.prefix, 'Scripts'))" 2>$null
        } else {
            $pythonScriptsDir = & $pythonExe.Source -c "import sys; import os; print(os.path.join(sys.prefix, 'Scripts'))" 2>$null
        }
    } else {
        $pythonScriptsDir = & python -c "import sys; import os; print(os.path.join(sys.prefix, 'Scripts'))" 2>$null
    }
    
    if (-not $pythonScriptsDir -or -not (Test-Path $pythonScriptsDir)) {
        Write-Host "Could not determine Scripts directory from Python. Trying common locations..."
        $commonScriptsPaths = @(
            "${env:ProgramFiles}\Python312\Scripts",
            "${env:ProgramFiles(x86)}\Python312\Scripts",
            "${env:LOCALAPPDATA}\Programs\Python\Python312\Scripts",
            "${env:LOCALAPPDATA}\Programs\Python\Python312-32\Scripts",
            "$env:ProgramData\chocolatey\lib\python312\tools\Scripts",
            "${env:ProgramFiles}\Python\Python312\Scripts"
        )
        
        foreach ($path in $commonScriptsPaths) {
            if (Test-Path $path) {
                Write-Host "Found Scripts directory at: $path"
                $pythonScriptsDir = $path
                break
            }
        }
    }
    
    if ($pythonScriptsDir -and (Test-Path $pythonScriptsDir)) {
        Write-Host "Python Scripts directory: $pythonScriptsDir" -ForegroundColor Green
        
        Write-Host "Contents of Scripts directory:"
        Get-ChildItem $pythonScriptsDir | ForEach-Object { Write-Host "  $($_.Name)" }
        
        # Use Chocolatey helper if available for proper PATH management
        if (Get-Command Install-ChocolateyPath -ErrorAction SilentlyContinue) {
            Write-Host "Using Chocolatey PATH helper..."
            Install-ChocolateyPath -PathToInstall $pythonScriptsDir -PathType 'User'
            
            if (Get-Command Update-SessionEnvironment -ErrorAction SilentlyContinue) {
                Write-Host "Refreshing environment variables..."
                Update-SessionEnvironment
            }
        } else {
            Write-Host "Chocolatey helpers not available, using manual PATH update..."
            $currentPath = $env:PATH
            if ($currentPath -notlike "*$pythonScriptsDir*") {
                Write-Host "Adding Python Scripts directory to PATH for this session..."
                $env:PATH = "$pythonScriptsDir;$currentPath"
            } else {
                Write-Host "Python Scripts directory already in PATH"
            }
        }
        
        # Ensure PATH is updated for current session regardless of method
        $env:PATH = "$pythonScriptsDir;$env:PATH"
        Write-Host "Updated PATH for current session"
    } else {
        Write-Warning "Python Scripts directory not found or doesn't exist: $pythonScriptsDir"
    }
} catch {
    Write-Warning "Could not determine Python Scripts directory: $_"
    Write-Host "Exception details: $($_.Exception.Message)"
}

# Ensure Python Scripts directory is permanently added to User PATH
if ($pythonScriptsDir -and (Test-Path $pythonScriptsDir)) {
    try {
        Write-Host "Ensuring Python Scripts directory is permanently in User PATH..."
        $currentUserPath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
        
        if ($currentUserPath -notlike "*$pythonScriptsDir*") {
            Write-Host "Adding $pythonScriptsDir to User PATH permanently..."
            $newUserPath = if ($currentUserPath) { "$currentUserPath;$pythonScriptsDir" } else { $pythonScriptsDir }
            [System.Environment]::SetEnvironmentVariable("PATH", $newUserPath, "User")
            Write-Host "Python Scripts directory added to User PATH permanently" -ForegroundColor Green
        } else {
            Write-Host "Python Scripts directory already in User PATH"
        }
    } catch {
        Write-Warning "Could not update User PATH permanently: $_"
    }
}

# Refresh PATH from system environment and add a brief delay for Windows to process the installation
Write-Host "Refreshing PATH environment variables..."
try {
    $machinePath = [System.Environment]::GetEnvironmentVariable("PATH", "Machine")
    $userPath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
    # Combine both paths and ensure our session includes both
    $env:PATH = "$machinePath;$userPath"
    Write-Host "PATH refreshed from system environment"
    
    # Also ensure the Scripts directory is in the current session PATH
    if ($pythonScriptsDir -and $env:PATH -notlike "*$pythonScriptsDir*") {
        $env:PATH = "$pythonScriptsDir;$env:PATH"
        Write-Host "Added Scripts directory to current session PATH"
    }
} catch {
    Write-Warning "Could not refresh PATH from system environment: $_"
}

Write-Host "Waiting for installation to settle..."
Start-Sleep -Seconds 3

$verificationPassed = $false

try {
    Write-Host "Testing direct 'aurras' command..."
    $versionOutput = & aurras --version 2>&1
    if ($LASTEXITCODE -eq 0) {
        Write-Host "Aurras installed successfully!" -ForegroundColor Green
        Write-Host "Version: $versionOutput"
        $verificationPassed = $true
    } else {
        throw "aurras --version failed with exit code $LASTEXITCODE"
    }
} catch {
    Write-Host "Direct 'aurras' command not available: $($_.Exception.Message)"
    Write-Host "This might be due to PATH not being immediately updated. Trying alternatives..."
}

if (-not $verificationPassed) {
    Write-Host "Attempting verification with python -m aurras..."
    
    # Try a different approach - check if aurras package is importable first
    try {
        Write-Host "Checking if aurras package is importable..."
        if ($pythonExe -and $pythonExe.Source) {
            if ($pythonExe.Source -like "py *") {
                $importTest = & py -3.12 -c "import aurras; print('Package import successful')" 2>&1
            } else {
                $importTest = & $pythonExe.Source -c "import aurras; print('Package import successful')" 2>&1
            }
        } else {
            $importTest = & python -c "import aurras; print('Package import successful')" 2>&1
        }
        
        if ($LASTEXITCODE -eq 0) {
            Write-Host "Package import successful: $importTest" -ForegroundColor Green
            
            # Now try the CLI entry point directly
            Write-Host "Testing CLI entry point via python -m..."
            if ($pythonExe -and $pythonExe.Source) {
                if ($pythonExe.Source -like "py *") {
                    $versionOutput = & py -3.12 -c "from aurras.aurras_cli.__main__ import main; import sys; sys.argv = ['aurras', '--version']; main()" 2>&1
                } else {
                    $versionOutput = & $pythonExe.Source -c "from aurras.aurras_cli.__main__ import main; import sys; sys.argv = ['aurras', '--version']; main()" 2>&1
                }
            } else {
                $versionOutput = & python -c "from aurras.aurras_cli.__main__ import main; import sys; sys.argv = ['aurras', '--version']; main()" 2>&1
            }
            
            if ($LASTEXITCODE -eq 0) {
                Write-Host "Aurras installed successfully (via entry point)!" -ForegroundColor Green
                Write-Host "Version: $versionOutput"
                $verificationPassed = $true
            } else {
                Write-Warning "Entry point test failed, but package is importable. Installation likely successful."
                Write-Host "Output: $versionOutput"
                $verificationPassed = $true  # Consider it successful if package imports
            }
        } else {
            Write-Warning "Package import failed: $importTest"
        }
    } catch {
        Write-Warning "Package import test failed: $_"
    }
}

if (-not $verificationPassed -and $pythonScriptsDir) {
    $aurrasExe = Join-Path $pythonScriptsDir "aurras.exe"
    if (Test-Path $aurrasExe) {
        try {
            Write-Host "Testing aurras executable directly from Scripts directory..."
            $versionOutput = & $aurrasExe --version 2>&1
            if ($LASTEXITCODE -eq 0) {
                Write-Host "Aurras executable found and working!" -ForegroundColor Green
                Write-Host "Version: $versionOutput"
                Write-Host "Path: $aurrasExe"
                $verificationPassed = $true
            }
        } catch {
            Write-Warning "Direct executable test failed: $_"
        }
    }
}

if (-not $verificationPassed) {
    if ($packageParameters.SkipVerification) {
        Write-Warning "Verification skipped due to SkipVerification parameter"
    } else {
        Write-Warning "Installation completed but verification failed"
        Write-Warning "Aurras may still work. Try the following commands manually:"
        Write-Host "Troubleshooting:" -ForegroundColor Yellow
        Write-Host "  1. Try: python -m aurras --version"
        Write-Host "  2. Try: pip show aurras"
        Write-Host "  3. Restart your terminal/PowerShell session"
        Write-Host "  4. Add Python Scripts directory to your PATH manually"
        if ($pythonScriptsDir) {
            Write-Host "     Python Scripts directory: $pythonScriptsDir"
        }
    }
}

Write-Host ""
Write-Host "Usage:" -ForegroundColor Cyan
Write-Host "  aurras"
Write-Host "  aurras-tui"
Write-Host ""
Write-Host "Documentation: https://github.com/vedant-asati03/Aurras"
Write-Host ""
if ($packageParameters.Count -gt 0) {
    Write-Host "Available parameters for next install:" -ForegroundColor Yellow
    Write-Host "  --params '/SkipPythonCheck /SkipVerification /IgnoreInstallErrors /PythonTimeout:600'"
}

# Debug information for Chocolatey test environment
if ($env:ChocolateyEnvironmentDebug -eq 'true' -or $env:CHOCOLATEY_VERSION) {
    Write-Host ""
    Write-Host "=== CHOCOLATEY DEBUG INFO ===" -ForegroundColor Yellow
    Write-Host "Python Path: $pythonCmd"
    if ($pythonScriptsDir) {
        Write-Host "Scripts Dir: $pythonScriptsDir"
    }
    Write-Host "Current PATH contains Scripts dir: $($env:PATH -like "*$pythonScriptsDir*")"
    Write-Host "Environment Variables:"
    Write-Host "  CHOCOLATEY_VERSION: $env:CHOCOLATEY_VERSION"
    Write-Host "  ChocolateyInstall: $env:ChocolateyInstall"
    
    try {
        Write-Host "Aurras installation location:"
        $aurrasLocation = & $pythonCmd -c "import aurras; print(aurras.__file__)" 2>&1
        Write-Host "  $aurrasLocation"
        
        Write-Host "Available aurras commands:"
        $aurrasHelp = & $pythonCmd -m aurras --help 2>&1 | Select-Object -First 5
        $aurrasHelp | ForEach-Object { Write-Host "  $_" }
    } catch {
        Write-Warning "Could not get debug info: $_"
    }
    Write-Host "=== END DEBUG INFO ===" -ForegroundColor Yellow
}
tools\chocolateyuninstall.ps1
# Chocolatey uninstall script for Aurras
$ErrorActionPreference = 'Stop'

Write-Host "Uninstalling Aurras music player..."

$pythonExe = $null
try {
    $pythonExe = Get-Command python -ErrorAction SilentlyContinue
    if (-not $pythonExe) {
        $pythonExe = Get-Command python3 -ErrorAction SilentlyContinue
    }
} catch {
    Write-Warning "Could not find Python executable"
}

if ($pythonExe) {
    try {
        $uninstallResult = & $pythonExe.Source -m pip uninstall aurras -y 2>&1
        if ($LASTEXITCODE -eq 0) {
            Write-Host "Aurras uninstalled successfully!" -ForegroundColor Green
        } else {
            Write-Warning "Pip uninstall returned exit code $LASTEXITCODE. Output: $uninstallResult"
        }
    } catch {
        Write-Warning "Could not uninstall via pip: $_"
        Write-Host "You may need to manually run: pip uninstall aurras"
    }
} else {
    Write-Warning "Python not found. Cannot uninstall Aurras via pip."
    Write-Host "If Aurras was installed, you may need to manually run: pip uninstall aurras"
}

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Add to Builder Version Downloads Last Updated Status
Discussion for the Aurras Music Player Package

Ground Rules:

  • This discussion is only about Aurras Music Player and the Aurras Music Player package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Aurras Music Player, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus