[Solved] Myth backend - Removing added directory from Default storage

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
Revilo
Junior
Posts: 15
Joined: Sat May 21, 2022 2:38 am
United States of America

[Solved] Myth backend - Removing added directory from Default storage

Post by Revilo »

Hello,
I'm running Mythtv 32 on Linux Mint 19.3 Cinnamon on an old Lenovo laptop. I recently changed my storage from a network share to a USB drive locally attached to the laptop. In the process of changing the storage location I mistakenly added a directory to default storage in mythtv-setup. I now wish to remove it but have been unable. :? I couldn't find anything with a Google search or a search of these forums. Can someone explain how to remove a directory that has been added to default storage?
User avatar
bill6502
Developer
Posts: 2299
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Myth backend - Removing added directory from Default storage

Post by bill6502 »

Been a long time, but I believe you just type d to delete the Storage Directory you're positioned on. Or,
using the Services API:

Code: Select all

curl --header Accept:application/JSON --data GroupName=someName --data DirName=someDirName --data HostName=yourBackendHostName backendOrIP:6544/Myth/RemoveStorageGroupDir
Revilo
Junior
Posts: 15
Joined: Sat May 21, 2022 2:38 am
United States of America

Re: Myth backend - Removing added directory from Default storage

Post by Revilo »

This was my first post here. I went away with the understanding that I would be emailed when the topic was approved. After nearly a week I decided to try logging back in - approved and answered. YES! Typing d worked. Thank you.
Post Reply