I cannot edit the config.yaml using Termux on android. The file path is:
“/data/data/com.termux/files/home/.config/beets/config.yaml” but I do not have access to it. How can I change where the config file is located? Any help is greatly appreciated. I’m using Android Pie by the way.
Hi! Please see the documentation for the BEETSDIR
environment variable:
https://beets.readthedocs.io/en/v1.4.7/reference/config.html#environment-variable
When I try to move file back to location I’m receiving this error. I did read the documentation I’m asking for help because I didn’t see anything about my issue or didn’t understand it. Thanks
mv /storage/emulated/0/Download/Beets/config.yaml /data/data/com.termux/files/home/.config/beets mv: can't preserve ownership of '/data/data/com.termux/files/home/.config/beets/config.yaml': Operation not permitted
Could you explain a little bit more about what you didn’t understand about that section? The variable lets you choose where you keep your beets configuration.
I figured out how to move the config.yaml. I’m having trouble with these errors can you please help. I’ll pay for your help just let me know where I need to send the payment. Thanks for the help. I’m also attaching my config.yaml file
$ beet ftintitle /storage/3665-3838/Music/Rap/ ** error loading plugin from filename:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
ModuleNotFoundError: No module named ‘beetsplug.from filename’
** error loading plugin thumbnails:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beetsplug/thumbnails.py”, line 32, in
from xdg import BaseDirectory
ModuleNotFoundError: No module named ‘xdg’
** error loading plugin beatport:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beetsplug/beatport.py”, line 25, in
from requests_oauthlib import OAuth1Session
ModuleNotFoundError: No module named ‘requests_oauthlib’
$
(Attachment Config.yaml is missing)
I figured out how to move the config.yaml. I’m having trouble with these errors can you please help. I’ll pay for your help just let me know where I need to send the payment. Thanks for the help. I’m also attaching my config.yaml file
$ beet ftintitle /storage/3665-3838/Music/Rap/ ** error loading plugin from filename:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
ModuleNotFoundError: No module named ‘beetsplug.from filename’
** error loading plugin thumbnails:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beetsplug/thumbnails.py”, line 32, in
from xdg import BaseDirectory
ModuleNotFoundError: No module named ‘xdg’
** error loading plugin beatport:
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beets/plugins.py”, line 270, in load_plugins
namespace = import(modname, None, None)
File “/data/data/com.termux/files/usr/lib/python3.7/site-packages/beetsplug/beatport.py”, line 25, in
from requests_oauthlib import OAuth1Session
ModuleNotFoundError: No module named ‘requests_oauthlib’
$
Show quoted text
My config file.
library: library.db
directory: /storage/emulated/0/Download/Beets
import:
write: yes
copy: no
move: no
link: no
hardlink: no
delete: no
resume: ask
incremental: no
incremental_skip_later: no
from_scratch: no
quiet_fallback: skip
none_rec_action: ask
timid: no
log: beetslog.txt
autotag: yes
quiet: no
singletons: no
default_action: apply
languages: []
detail: no
flat: no
group_albums: no
pretend: no
search_ids: []
duplicate_action: ask
bell: no
set_fields: {}
clutter: [Thumbs.DB, .DS_Store]
ignore:
-
.*
-
‘*~’
-
System Volume Information
-
lost+found
ignore_hidden: yes
replace:
‘[\/]’: _
^.: _
‘[\x00-\x1f]’: _
‘[<>:"?*|]’: _
.$: _
\s+$: ‘’
^\s+: ‘’
^-: _
path_sep_replace: _
asciify_paths: no
art_filename: cover
max_filename_length: 0
plugins: [
web,
chroma,
discogs,
acousticbrainz,
from filename,
ftintitle,
info,
mbsync,
missing,
thumbnails,
fetchart,
beatport
]
pluginpath: [~/.config/beets/plugins]
threaded: yes
timeout: 5.0
per_disc_numbering: no
verbose: 0
terminal_encoding:
original_date: no
artist_credit: no
id3v23: yes
va_name: Various Artists
ui:
terminal_width: 80
length_diff_thresh: 10.0
color: yes
colors:
text_success: green
text_warning: yellow
text_error: red
text_highlight: red
text_highlight_minor: lightgray
action_default: turquoise
action: blue
format_item: $artist - $album - $title
format_album: $albumartist - $album
time_format: ‘%Y-%m-%d %H:%M:%S’
format_raw_length: no
sort_album: albumartist+ album+
sort_item: artist+ album+ disc+ track+
sort_case_insensitive: yes
paths:
default: $albumartist/$album%aunique{}/$track $title
singleton: Non-Album/$artist/$title
comp: Compilations/$album%aunique{}/$track $title
statefile: state.pickle
musicbrainz:
host: musicbrainz.org
ratelimit: 1
ratelimit_interval: 1.0
searchlimit: 5
match:
strong_rec_thresh: 0.04
medium_rec_thresh: 0.25
rec_gap_thresh: 0.25
max_rec:
missing_tracks: medium
unmatched_tracks: medium
distance_weights:
source: 2.0
artist: 3.0
album: 3.0
media: 1.0
mediums: 1.0
year: 1.0
country: 0.5
label: 0.5
catalognum: 0.5
albumdisambig: 0.5
album_id: 5.0
tracks: 2.0
missing_tracks: 0.9
unmatched_tracks: 0.6
track_title: 3.0
track_artist: 2.0
track_index: 1.0
track_length: 2.0
track_id: 5.0
preferred:
countries: []
media: []
original_year: no
ignored: []
required: []
ignored_media: []
ignore_video_tracks: yes
track_length_grace: 10
track_length_max: 30
chroma:
auto: yes
acoustid:
apikey: fVP6w1l3eC
acousticbrainz:
Auto: yes
Force: no
Tags: []
ftintitle:
auto: yes
drop: no
format: feat. {0}
missing:
format: $albumartist - $album - $title
count: no
total: no
thumbnails:
auto: yes
force: no
dolphin: no
fetchart:
auto: yes
cautious: no
cover_names: cover front art album folder
minwidth: 0
maxwidth: 800
enforce_ratio: no
google_key: none
google_engine: yes
fanarttv_key: none
store_source: no
art_filename: folder.jpg
sources: filesystem coverart amazon albumart
Please use Markdown code blocks to make your pastes legible. It looks like you need to install the dependencies for these plugins (which are described on their respective documentation pages).
Can you please tell if it’s possible to get fpcalc to work on Android with Termux? If so, can you please explain how. I have resolved all my other issues but this one still persist. Thank you