Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: EOF #22

Closed
cumulus13 opened this issue Jun 12, 2022 · 4 comments
Closed

panic: EOF #22

cumulus13 opened this issue Jun 12, 2022 · 4 comments

Comments

@cumulus13
Copy link

cumulus13 commented Jun 12, 2022

how to corret it :

  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()
      .../gomp/main.go:65 +0x2112
  exit status 2
@aditya-K2
Copy link
Owner

can you please drop your config.yml

@danrees84
Copy link

danrees84 commented Jul 21, 2022

Same here. Cantata and ncmpcpp connects fine by comparison.

MUSIC_DIRECTORY: "~/Music/"
  # Your Music Directory (i.e music_directory in mpd.conf)

#ADDITIONAL_PADDING_X : 9
#ADDITIONAL_PADDING_Y : 17
  # Extra padding for the placement of the image
  # |---------------------------------------------------------|
  # |          ADDITIONAL_PADDING_Y                           |
  # |                      |                                  |
  # |                      v                                  |
  # |                      |---------------|                  |
  # |ADDITIONAL_PADDING_X->|               |                  |
  # |                      |     IMAGE     |                  |
  # |                      |               |                  |
  # |                      |---------------|                  |
  # |                                                         |
  # |                                                         |
  # |---------------------------------------------------------|
  #                              ^
  #                              |
  #                      Image Preview Box
  # Note: Padding can be negative or positive
  # PADDING_X on decrementing will move the image to right and PADDING_Y on incrementing will move the image to left
  # similarly PADDING_Y on decrementing will move the image UP and on incrementing will move the image DOWN

#IMAGE_WIDTH_EXTRA_X  : -1.1
#IMAGE_WIDTH_EXTRA_Y  : -3.75
  # Add extra IMAGE_WIDTH to the image so that it fits perfectly in the image preview box
  #
  # |-----------------------------------------------------------|
  # |                      -  IMAGE_WIDTH_EXTRA_Y               |
  # |                      -         |                          |
  # |                      -         v                          |
  # |-----------------------------------------------------------|
  # |                      -                                    |
  # |                      -                                    |
  # | IMAGE_WIDTH_EXTRA_X  -                                    |
  # |          ->          -                                    |
  # |                      -      IMAGE                         |
  # |                      -                                    |
  # |                      -                                    |
  # |                      -                                    |
  # |                      -                                    |
  # |-----------------------------------------------------------|
  # Note: IMAGE_WIDTH_EXTRA_X and IMAGE_WIDTH_EXTRA_Y can be positive or negative

MPD_PORT : "6600"
  # Port on which music player daemon is running


DEFAULT_IMAGE_PATH:   "default.jpg"

GET_COVER_ART_FROM_LAST_FM : "TRUE" # Turn On Getting Album art from lastfm api
LASTFM_API_KEY: "[Masked]"
LASTFM_API_SECRET: "[Masked]"
LASTFM_AUTO_CORRECT: 1  # 0 means it is turned off
  # according to lastfm documentation
  # autocorrect[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead.

# Mappings
#
# Mapping works in the following way:
# Function: [ firstMapping, secondMapping, thirdMapping, ...... ]
# for e.g
togglePlayBack : [ "p", "SPACE", "]" ] # using the quotes is neccessary.
  # all the three keys now have the same function.
  # To see Availabe Keys and Functions : https://github.com/aditya-K2/gomp#key-mappings

# Caching
#
# The Covert arts that are extracted from the file or downloaded from lastfm are cached.
# It Is neccessary to define a cache directory to store all the cover arts.
# The Caching works as follows
# 1. Check if there is an embedded cover art if not then 2
# 2. Check if lastfm has album art if not then 3
# 3. Fallback to the default image.
#
#
CACHE_DIR : "~/.config/gomp/cache/" # for e.g "~/.config/gomp/cache/"
  # You will have to manually create this directory.

@aditya-K2
Copy link
Owner

aditya-K2 commented Jul 29, 2022

I am having a tough time pinning down the exact reason for this error, At face value it seems like this is an issue with the fhs/gompd library which is used to connect with the music player daemon. If you won't mind can you please drop your mpd.conf

@aditya-K2
Copy link
Owner

I think the problem might be the same as mentioned at #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants