Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Could Not Generate the File Map #69

@Skrib

Description

@Skrib
Could Not Generate the File Map
Make Sure You Mention the Correct MPD Port in the config file.
panic: EOF

goroutine 1 [running]:
main.main()
	github.com/aditya-K2/gomp/main.go:50 +0x510

my config.yaml:

MUSIC_DIRECTORY: "/mnt/DATA/Music"
ADDITIONAL_PADDING_X : 9
ADDITIONAL_PADDING_Y : 17
IMAGE_WIDTH_EXTRA_X  : -1.1
IMAGE_WIDTH_EXTRA_Y  : -3.75
MPD_PORT : "6601"
NETWORK_TYPE : "tcp"
NETWORK_ADDRESS : "localhost" 
DEFAULT_IMAGE_PATH:   "/home/skrib/.config/gomp/default.png"
SEEK_OFFSET : 1

GET_COVER_ART_FROM_LAST_FM : "TRUE" # Turn On Getting Album art from lastfm api
LASTFM_API_KEY: "YOUR API KEY HERE"
LASTFM_API_SECRET: "YOUR API SECRET HERE"
LASTFM_AUTO_CORRECT: 1 

togglePlayBack : [ "p", "SPACE", "]" ] 
CACHE_DIR : "/home/skrib/.config/gomp/cache"

my mpd.conf:

music_directory "/mnt/DATA/Music/"
playlist_directory "/mnt/DATA/Music/"
db_file "/home/skrib/.mpd/mpd.db"
log_file "/home/skrib/.mpd/mpd.log"
pid_file "/home/skrib/.mpd/mpd.pid"
state_file "/home/skrib/.mpd/mpdstate"
audio_output {
	type "pulse"
	name "pulse audio"
}
audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:2"
}
 
bind_to_address "127.0.0.1"
port "6601"

Ncmpcpp works fine for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions