1. Welcome to the official forum for MINIX devices!
    Dismiss Notice

USB pathsubstitution or other solution....

Discussion in 'NEO U1' started by Jason777, Apr 9, 2018.

  1. Jason777

    Jason777 New Member

    Hello,

    First, excuse me for my english...

    I have a Minix U1 with the last firmwire and I use SPMC 17.6a2.

    I have one problem for the capacity because 12 Go is little for all my Thumbnails.
    So I have buy a USB 2.0 of 64 Gb.

    And now I try to do a pathsubstitution for it but It seems to don't work....

    Code:
    <video>
      <excludefromscan>
      <regexp>-trailer</regexp>
      <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
      <regexp>[-\._ ](extrafanart|trailer|extrathumbs)[-\._ ]</regexp>
      </excludefromscan>
      <excludefromlisting>
      <regexp>[-._ \\/](extrafanart|trailer|extrathumbs)[-._ \\/]</regexp>
      </excludefromlisting>
      <excludefromscan action="append">
      <regexp>/extras/</regexp>
      <regexp>[\\/]extras[\\/]</regexp>
      </excludefromscan>
      <excludetvshowsfromscan action="append">
      <regexp>/extras/</regexp>
      <regexp>[\\/]extras[\\/]</regexp>
      </excludetvshowsfromscan>
    </video>
    
    <pathsubstitution>
      <substitute>
      <from>special://masterprofile/Thumbnails</from>
      <to>I don't know whet to exactely put here ?</to>
      </substitute>
    </pathsubstitution>
    

    I try ....
    /storage/udisko/thumbnails
    /udisko/Thumbnails



    I try too.... :


    Code:
    <video>
      <excludefromscan>
      <regexp>-trailer</regexp>
      <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
      <regexp>[-\._ ](extrafanart|trailer|extrathumbs)[-\._ ]</regexp>
      </excludefromscan>
      <excludefromlisting>
      <regexp>[-._ \\/](extrafanart|trailer|extrathumbs)[-._ \\/]</regexp>
      </excludefromlisting>
      <excludefromscan action="append">
      <regexp>/extras/</regexp>
      <regexp>[\\/]extras[\\/]</regexp>
      </excludefromscan>
      <excludetvshowsfromscan action="append">
      <regexp>/extras/</regexp>
      <regexp>[\\/]extras[\\/]</regexp>
      </excludetvshowsfromscan>
    </video>
    
    <pathsubstitution>
      <substitute>
      <from>/storage/emulated/0/Android/data/com.semperpax.spmc17/files/.spmc/userdata/Thumbnails</from>
      <to>/storage/udisk0/Thumbnails</to>
      </substitute>
    </pathsubstitution>
    


    (but for this last, The ' O ' betweeen emulated and Android is well a ZERO ? )

    But It doesn't work, I put over the Thumbnails folder,
    and the "Myvideoxx.db", "Textures13.db" for restart of zero,
    After I start again my Android and go to SPMC, edit source again but All the image come back on the Android....

    Please help me....

    Thanks !!


    PS: I see this : http://www.minixforum.com/threads/u1-micro-sd-memory-card-max.16194/
    Is it the same solution or another??


    Or perhaps can I change the SD card interne for more capacity ???


    Thanks and please , for the answer, I'm a newbie and french... Thankssss
     
  2. Jason777

    Jason777 New Member

    UP Please...

    Thanks
     
  3. skynet

    skynet Moderator Moderator

  4. Jason777

    Jason777 New Member

    Salut skynet ;)

    Yes I try to follow it but perhaps I do a mistake ?

    Is the procedure that I mentionned above is right?

    Thanks.
     
  5. skynet

    skynet Moderator Moderator

    It seems to be OK.
    Are you sure of your external sdcard name ?
    Can you check it with ES explorer ?
    You must be sure you can write on it...
     
  6. Jason777

    Jason777 New Member

    For the external sdcard, when I go into spmc, it's the way for ...

    /storage/udisk0/Thumbnails

    And I have put my USB in NTFS...

    But in my post I explain a lot of possibility but Is it a better that another? ANd for the question of the '0' is it well a ZERO ?

    Thanks
     
  7. skynet

    skynet Moderator Moderator

    Yes ;)

    Send me a PM ...
     
  8. Jason777

    Jason777 New Member

    Hello Skynet

    a PM with wich information ?

    Thanks
     
  9. Jason777

    Jason777 New Member

    Hello,

    I come back because I don't want to root and I'd really like to use pathsubstitution...

    My first problem is that I don't now the good way for my USB on Minix U1 because one time he say me udisk0 and the other time when i do power again udisk1 !!

    I just want to know if somebody here have à MinixU1 and use a pathsubstiution on USB and if yes what's the way ?

    I try a lot but no result

    <pathsubstitution>
    <substitute>
    <from>special://masterprofile/Thumbnails</from>
    or <from>special://profile/Thumbnails/</from>
    or <from>/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/</from>

    <to>/storage/udisk1/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/</to>
    or <to>/storage/udisk0/Thumbnails</to>
    or <to>udisk0/Thumbnails/</to>
    or <to>smb://192.168.---.---/Kodi/Thumbnails</to>
    </substitute>
    </pathsubstitution>


    I'm with last firmwire and Kodi Krypton.

    Please help me . Thanks a lot by advance ;)