# Config.yaml termux

**URL:** <https://discourse.beets.io/t/config-yaml-termux/720>\
**Category:** Help\
**Created:** [April 27, 2019, 9:50am UTC](https://discourse.beets.io/t/config-yaml-termux/720 "2019-04-27T09:50:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 27, 2019, 9:50am UTC](https://discourse.beets.io/t/config-yaml-termux/720/1 "2019-04-27T09:50:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [April 27, 2019, 1:45pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/2 "2019-04-27T13:45:18Z")

</div>

Hi! Please see the documentation for the `BEETSDIR` environment variable:  
[https://beets.readthedocs.io/en/v1.4.7/reference/config.html#environment-variable](https://beets.readthedocs.io/en/v1.4.7/reference/config.html#environment-variable)

---

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 27, 2019, 3:25pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/3 "2019-04-27T15:25:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [April 27, 2019, 7:47pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/4 "2019-04-27T19:47:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 27, 2019, 8:57pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/5 "2019-04-27T20:57:13Z")

</div>

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](http://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](http://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](http://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](http://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](http://beatport.py)”, line 25, in

from requests\_oauthlib import OAuth1Session

ModuleNotFoundError: No module named ‘requests\_oauthlib’

$

(Attachment Config.yaml is missing)

---

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 27, 2019, 9:01pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/6 "2019-04-27T21:01:18Z")

</div>

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](http://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](http://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](http://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](http://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](http://beatport.py/)”, line 25, in

from requests\_oauthlib import OAuth1Session

ModuleNotFoundError: No module named ‘requests\_oauthlib’

$

Show quoted text

---

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 27, 2019, 9:02pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/7 "2019-04-27T21:02:06Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [April 27, 2019, 9:39pm UTC](https://discourse.beets.io/t/config-yaml-termux/720/8 "2019-04-27T21:39:01Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![Daplugg23](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daplugg23](https://discourse.beets.io/u/Daplugg23)\
**Post date:** [April 28, 2019, 5:02am UTC](https://discourse.beets.io/t/config-yaml-termux/720/9 "2019-04-28T05:02:32Z")

</div>

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
