Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark mounted disk in recording list #30

Open
MegaV0lt opened this issue Mar 22, 2022 · 2 comments
Open

Mark mounted disk in recording list #30

MegaV0lt opened this issue Mar 22, 2022 · 2 comments

Comments

@MegaV0lt
Copy link

MegaV0lt commented Mar 22, 2022

target="${videodir}/$(basename "${mount_path}")"

Mark mounted disk in recordin list for better user-expirience.
target="${videodir}/[${mount_path##*/}]" # /video/[USB_HD]
Resulting in:
Auswahl_145

Much better to find, as disklabel is differend when using disfdferent disks

Other possible markings are '=> USB_HD' or '_USB_HD' for example

@MegaV0lt MegaV0lt changed the title Mark mounted disk in recoirding list Mark mounted disk in recording list Mar 22, 2022
@seahawk1986
Copy link
Member

There can be more than one external drive and it isn't necessarily a hard disk, so a static string would not lead to an unique name - how about a suffix like [External Drive] (similar to the markings used by avahi-linker)?

@MegaV0lt
Copy link
Author

MegaV0lt commented Mar 24, 2022

target="${videodir}/[${mount_path##*/}]" # /video/[DRIVE_NAME]

This is not a static link. It just adds the '[' and ']'

The 'USB_HD' ist just a sample. My drive is named 'USB_HD'. Another drive i have is named 'Seagate'. The Link then is '[Seagate]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants