# Playback problems

> Fixes when a song does not start, stops, stutters, only plays 30 seconds or makes no sound.

## A song does not start

Work through these in order and try the song again after each step.

1. **Server.** **Settings › Server** shows whether the server answers. If it
   does not, check your internet connection, or set the address to `off` to ask
   the sources directly (see [Direct mode](../using-glyph/direct-mode-and-keys.md)).
2. **Another song.** If other songs play, only this one is the problem: try the
   same song from another result in search.
3. **YouTube songs.** Under **Settings › Playback › Sources › YouTube** check
   that **Use YouTube and SoundCloud** is on. **YouTube playback** chooses where
   the audio is looked up: *Local* on this computer, or *Server*; when the server
   finds nothing, this computer tries itself. **YouTube extractor** switches
   between the built-in r-dlp and yt-dlp, which can be installed and updated on
   the same page.
4. **Audio output.** If Glyph says the output does not respond, or the song
   loads forever, right-click the volume button and pick another output or
   *System default*.
5. **Update Glyph** under **Settings › About**. YouTube changes often, and new
   versions follow.

A toast **Playback error · …** or **Could not load the song: …** names the
reason. **Not found on YouTube** means **Use YouTube only** is on and YouTube
had no match: turn it off to allow other sources and previews.
Mention it when you [ask for help](README.md#still-stuck).

## It stops, pauses or stutters

* **Slow connection.** With quality *Auto*, Glyph steps down when playback
  stalls; a fixed *High* does not. Under **Settings › Playback › General** choose *Auto* or
  *Standard*. See [Quality](../using-glyph/downloads-and-quality.md#quality).
* **Switching quality** during a song can cause one short pause. That is
  normal with *Auto*.
* **Offline or travelling?** [Download](../using-glyph/downloads-and-quality.md)
  songs beforehand: downloads always play from disk.
* **Bluetooth** drops out when the signal is weak. Try the computer's own
  speakers to see if the problem is Glyph or the headphones.

## Only 30-second previews

The song was only found on Deezer, which gives previews. Turn on **Use YouTube
and SoundCloud** under **Settings › Playback › Sources** and move YouTube above
Deezer. On a Cloudflare server YouTube needs the
[companion](../self-hosting/companion.md); without it, this computer looks the
song up itself, or choose *Local* for YouTube so it always does.

## No sound, but the song is running

1. **Volume** in Glyph and in your system.
2. **Output.** Right-click the volume button: is the right device chosen?
   *System default* follows when you plug in headphones.
3. **Playing somewhere else?** If the Connect panel shows a speaker, TV or
   another Glyph device, the music plays there. Pick *This computer*.
4. **In a Jam** with *Play the music on this device* off, only the host's
   device plays. See [Jam problems](jam.md).

## A song cannot go to a speaker or TV

YouTube and SoundCloud songs that play in their embedded player stay on the
computer. More in [Play on speakers and TVs](../using-glyph/devices.md).

## Radio is greyed out

Radio needs a Last.fm key, on the server or in your own
[API keys](../using-glyph/direct-mode-and-keys.md). Hover the switch to see why
it is off.

## A local file does not play or is missing

* **Library › Local files › Rescan** reads new and changed files.
* The file must be MP3, FLAC, OGG, M4A, AAC, WAV or MKA.
* A file that was moved or renamed outside Glyph shows up again after a
  rescan.
* On another device the file does not exist; Glyph then plays the same song
  from your online sources. See [Local files](../using-glyph/local-files.md).

## An artist page shows no songs

Popular songs come from a search for the artist's name. If no source credits a
song to exactly that name, Glyph shows the songs of the artist's latest
releases instead. When the page still shows *No songs found*, open an album
below: albums play even then.

## Lyrics are missing or wrong

Open the lyrics options and pick another version; Glyph keeps the choice for
this song. Timing can be shifted there too. See [Lyrics](../using-glyph/lyrics.md).

## Related error codes

See [Error codes](error-codes.md) for every playback and source code (`GX-PLAY-*`, `GX-SRC-*`), including:

* [`gx-play-001`](error-codes.md#gx-play-001) — Stream could not be opened
* [`gx-play-006`](error-codes.md#gx-play-006) / [`gx-play-007`](error-codes.md#gx-play-007) — No audio output device or output not responding
* [`gx-play-009`](error-codes.md#gx-play-009) — Audio stream link expired (HTTP 401/403)
* [`gx-play-012`](error-codes.md#gx-play-012) / [`gx-play-013`](error-codes.md#gx-play-013) — Song could not be loaded or skipped
* [`gx-src-001`](error-codes.md#gx-src-001) / [`gx-src-002`](error-codes.md#gx-src-002) / [`gx-src-003`](error-codes.md#gx-src-003) — No legal source or YouTube playback failed

Machine-readable lists: [PLAY](https://errors.glyph.my/area/play) · [SRC](https://errors.glyph.my/area/src).
