Tool zum Einbinden von USB-Speichermedien über Symlinks

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Hallo @muehe,

    das Tool sollt eauch mit dem Q5 Quad funktionieren.

    Ich empfehle Dir die Verwendung der Variante ohne "OnBoot" im Namen und diese stattdessen mit einem Tool wie "AutoStart - NoRoot" beim Booten automatisch zu starten (damit bist Du flexibler).
    Viele Grüsse
    messer

    PS: Den Like-Button zu drücken, tut nicht weh!
    -----------------------------------------------------------------------------------------------------------------------------------
    Spoiler anzeigen
    HTPC: Zotac CI540, 8GB RAM, 250GB SD, WIn10Pro x64, Kodi 17.6
    Mediaplayer aktuell : Zidoo X9S
    Mediaplayer früher : UncoreX / Xoro HST260S / Minix Neo X8-H / HiMedia Q10-II / DVico TViX M6500-A
    Fernseher : Samsung UE48H6600 + LG 32LA6608
    Sat-Receiver : VU+ Ultimo4K mit VTi-Team-Image 13.0.1
    AVR: Denon AVR-X 3300W
    Boxen : Energy Encore 5.1 - alt aber immer noch super! - Decken-LS folgen nach nächster Renovierung
    NAS: Synology DS-1817+ mit 3 * 12TW WD Gold + 4 * 4TB WD red
    Netzwerk : GB-LAN mit HP-Switch 1810-24Gv2 und AVM Fritzbox 7390
  • looun schrieb:

    can everybody explain how it work?
    Hi,

    here is my first draft regarding the english explanation. I wanted to include the english text at the file base but I am not able to do that (don't know why).

    Ok, let's start with the translation ...


    ATTENTION - Comment in advance:

    I have made two versions of this app:
    1. HiMedia_QxSymlinks.2.16.apk:
      - this version must be started manually (no autostart included)
      - it supports up to 16 partitions (incl. internal hard disc)
    2. HiMedia_QxSymlinksOnBoot.2.16.apk:
      - this version will be executed automatically at boot time
      - it supports "only" 8 partitions (incl. internal hard disc)
    My recommendation is to use the version 1 in combination with a tool like "Autostart - NoRoot" because that is the most flexible combination.

    Background:

    When using the HiMedia player in combination with an internal hard drive plus a bunch of discs connected via USB I had to recognize that the mount points for the hard disc partitions are depending on the connectors.
    Example: when using only the internal hard drive the first partition will be mounted at /mnt/sda/sda1 but when using a second disc connected to an USB port the moint point of the internal drive partition is /mnt/sdc/sdc1.
    That means that I had to change the Kodi pathes for my multimedia folders very often - not very user friendly :-(.

    Basic idea:

    In addition to the system integrated dynamic mount points this app uses so-called symlinks to ensure that each hard drive partition will have an additional static (never changing) mount point. This way you have the same entry point for each partition independent of the USB connector you are using for a drive.

    In order to get that done you have to create a text file that includes the description of you static entry point. On each hard drive partition there must be a text file named "HiMediaQSerie.txt" with only one line of text that specifies the path to the static mount point. This file has to be located in the root folder of the corresponding partition.

    Examples:
    - Partition 1 / internal drive -> Content of HiMediaQSerie.txt: /storage/HDint1
    - Partition 2 / internal drive -> Content of HiMediaQSerie.txt: /storage/HDint2
    - Partition 1 / 1st external drive -> Content of HiMediaQSerie.txt: /storage/HDext1
    - Partition 2 / 1st external drive -> Content of HiMediaQSerie.txt: /storage/HDext2
    - Partition 3 / 1st external drive -> Content of HiMediaQSerie.txt: /storage/HDext3
    - Partition 1 / 2nd external drive -> Content of HiMediaQSerie.txt: /storage/HDext5
    - Partition 2 / 2nd external drive -> Content of HiMediaQSerie.txt: /storage/HDext6

    After executing the app you will find the following (new) paths on your box:
    - /storage/HDint1
    - /storage/HDint2
    - /storage/HDext1
    - /storage/HDext2
    - /storage/HDext3
    - /storage/HDext5
    - /storage/HDext6

    Those pathes (created via symlinks) can be used for specifying the Kodi pathes to your media files without changing it each time.

    By executing the apk during each boot process it can be ensured that the (additional) entry point for each partition will stay the same.

    What does the app do:

    When executing the apk

    - it's looking for all attached hard drive partitions
    - for each partition it looks for the text file "HiMediaQSerie.txt"
    - for each existing file "HiMediaQSerie.txt" it reads the first line of the file (ATTENTION: there is no syntax check or plausibility check)
    - for each partition with a file "HiMediaQSerie.txt" a symlink with the corresponding entry point is generated

    Installation:

    This app can be installed by using a file manager and clicking on the apk file. After that it must be executed manually at least for one time so that the windows regarding granting root access will appear. Please ensure that the app will get permanent root access.

    Comments:

    - you are using this app on your own risk / there is no warranty regarding its functionality
    - no support will be provided
    - the Android box must be rooted
    - the tool only supports local hard drives (no NAS drives)
    - not all apps can use symlinks ... but Kodi can do that
    - the Android OS is extremely busy when booting - when using an autostart tool you should calculate enough time before starting the app
    Viele Grüsse
    messer

    PS: Den Like-Button zu drücken, tut nicht weh!
    -----------------------------------------------------------------------------------------------------------------------------------
    Spoiler anzeigen
    HTPC: Zotac CI540, 8GB RAM, 250GB SD, WIn10Pro x64, Kodi 17.6
    Mediaplayer aktuell : Zidoo X9S
    Mediaplayer früher : UncoreX / Xoro HST260S / Minix Neo X8-H / HiMedia Q10-II / DVico TViX M6500-A
    Fernseher : Samsung UE48H6600 + LG 32LA6608
    Sat-Receiver : VU+ Ultimo4K mit VTi-Team-Image 13.0.1
    AVR: Denon AVR-X 3300W
    Boxen : Energy Encore 5.1 - alt aber immer noch super! - Decken-LS folgen nach nächster Renovierung
    NAS: Synology DS-1817+ mit 3 * 12TW WD Gold + 4 * 4TB WD red
    Netzwerk : GB-LAN mit HP-Switch 1810-24Gv2 und AVM Fritzbox 7390