You are not logged in.

#1 2020-09-20 15:47:13

kierstro
Member
Registered: 2020-09-20
Posts: 5

ncmpcpp/mpd - Error while writing tags

Whenever I attempt to edit any tags on a music file, it simply says that is has a problem reading the file, and will not let me edit the tags.

I read in another post about permissions problems and config problems. However both mpd's config file and ncmpcpp's config file point to the same directory:

mpd :

music_direcotry       "home/user/music"

ncmpcpp :

mpd_music_dir = home/user/music

I've also tried when in the home/user directory :

chmod +rwx ~/music

and 

chmod 777 ~/music

again it seems to produce the error despite the directory having read, write and execute perms...

I'm running

systemctl mpd.service --user

I'm not sure if this is causing any problems. But reading the mpd arch wiki advises this should point to the .config/mpd/mpd.conf file and I see no obvious problem when looking at my mpd.conf.

Any help with this would be greatly appreciated. Thanks.

Offline

#2 2020-09-20 17:44:41

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: ncmpcpp/mpd - Error while writing tags

kierstro wrote:

mpd :

music_direcotry       "home/user/music"

This has a typo.

This is the reason we ask for the *exact* config file contents and verbatim logs, not your interpretation of them. Post those otherwise we have nothing to go on, it doesn't matter if you think that there is nothing obviously wrong with them.

Offline

#3 2020-09-20 18:37:10

kierstro
Member
Registered: 2020-09-20
Posts: 5

Re: ncmpcpp/mpd - Error while writing tags

My bad dude, however it is correctly spelled in the config...
"music_directory"

here are the configs:
MPD: https://pastebin.com/CgEYgjWy
ncmpcpp: https://pastebin.com/5yjaUmwT

Let me know if I am being stupid.

Offline

#4 2020-09-20 20:55:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,723

Offline

#5 2020-09-20 22:30:07

kierstro
Member
Registered: 2020-09-20
Posts: 5

Re: ncmpcpp/mpd - Error while writing tags

Originally followed this, I've re-jigged my both configs to read "~/music/" now instead. Now instead of the "problem reading the file" it says "Error while writing tags : Operation now in progress"

Offline

#6 2020-09-20 22:37:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,723

Re: ncmpcpp/mpd - Error while writing tags

Even the pasted config had

mpd_music_dir = home/k/music

and I'd not use shell specific aliases like "~" but try to use the full canonical path.
Also ensure the database isn't still updating.

Offline

#7 2020-09-20 22:57:58

kierstro
Member
Registered: 2020-09-20
Posts: 5

Re: ncmpcpp/mpd - Error while writing tags

seth wrote:

Even the pasted config had

mpd_music_dir = home/k/music

and I'd not use shell specific aliases like "~" but try to use the full canonical path.
Also ensure the database isn't still updating.

Okay I've again changed it back to "/home/k/music/" on both configs and I have also made a new mpd.db and removed the line that reads 'auto_update "yes"'.

I'm still getting the same "Error while writing tags : Operation now in progress" when attempting to write tags.

Offline

#8 2020-09-20 23:17:27

kierstro
Member
Registered: 2020-09-20
Posts: 5

Re: ncmpcpp/mpd - Error while writing tags

kierstro wrote:
seth wrote:

Even the pasted config had

mpd_music_dir = home/k/music

and I'd not use shell specific aliases like "~" but try to use the full canonical path.
Also ensure the database isn't still updating.

Okay I've again changed it back to "/home/k/music/" on both configs and I have also made a new mpd.db and removed the line that reads 'auto_update "yes"'.

I'm still getting the same "Error while writing tags : Operation now in progress" when attempting to write tags.

I've managed to solve this by changing the file format of the file. I'm playing around with it but it didn't like .webm files it seems... Not 100%, however when attempting to write tags to .opus files it seemed to work fine. Thank you very much seth for all the help mate. I was quite messy with my responses so I appreciate it lad!

Offline

#9 2020-09-21 07:26:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,723

Re: ncmpcpp/mpd - Error while writing tags

https://github.com/ncmpcpp/ncmpcpp/issues/215
taglib supports opus, but (so far) not webm

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB