Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Convert - Move music with Lame

$
0
0

@Victor_Santos wrote:

Hi,

I am trying to create a task, to convert - move music that I have downloaded through transmission.

Now I am testing only by copying the files that are in the different folders that I have, but I cannot get the source directories and only copy the files and not create the directories.

I have the task created as follows:

moveMusic:
  filesystem
    path: "/download/complete"
    recursive: yes
    retrieve:
      - files
      - dirs
    regexp: '.*\.(mp3)$'
  accept_all: yes
  exec:
    auto_escape: yes
    on_output:
      for_entries: |
        cp -r "{{localtion}}" "/storage/{{filename}}"
        #code disable with the lame instruction 
        #lame --out-dir "/storage/{{filename}}" -b 160 "{{filename}}"

And I don't see where the problem may be

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles