futeko.com FORUM
Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: qqq1971 on November 24, 2016, 12:52:33 PM
-
Ideally drives would be mounted according to drive label. e.g. /mnt/media_rw/DRIVELABEL/
Did small script for it. https://cloud.mail.ru/public/798J/pYnPvj1rz (https://cloud.mail.ru/public/798J/pYnPvj1rz)
Mounted disks (/mnt/media_rw/sda1 for example) are linked to /mnt/media_rw/disk-by-uuid/<uuid> and /mnt/media_rw/disk-by-label/<label> folders.
Restrictions:
1. It is provided "as is", without any garantee. I tested it on Q10 Pro, firmware HMD-2.0.0.
2. All disks have to be attached to box before boot. Hotplug does not supported.
3. Only first 4 mounted disks will be linked
4. For disk with multiple partions only first partition will be linked.
5. If disks has identical labels only first disk will be linked.
6. Wait about 2 min after boot. Master init script has delay before my script will be run.
Install and uninstal:
1. Download and unzip.
2. Run RUN_ME.bat, enter players ip-address, select action.
Thanks pcristi and looun.
-
I moved this to a new topic because it is going to be useful for many people.
It works really well.
qqq1971, do you mind if other users alter / improve your code?
-
yet another awesome effort.... thanks to all participants.
-
qqq1971, do you mind if other users alter / improve your code?
Yes of course. Feel free.
-
Thank you qqq1971 for this fix - but it showcases again that users need to fix things themselves that should be features of the product in the first place. >:(
-
Small modification v1.0.2
Download:
http://www.mediafire.com/?0u9h678yy61c7h1
Change log:
- port back to Android 5.1.1
- fix 100 second delay of start running script on first official Android 7.0 f/w
- mount all partition /mnt/media_rw/disk-by-uuid/<uuid>
- mount first partition /mnt/media_rw/disk-by-label/<label> in case of sda5, sdb5,... and not only for sda1,sdb1,...
- additional mount o bind to /sdcard/media_rw/disk-by-uuid/<uuid> --> request for HiMedia DLNA Server
Mount path:
/mnt/media_rw/disk-by-uuid/<uuid>
/mnt/media_rw/disk-by-label/<label>
/sdcard/media_rw/disk-by-uuid/<uuid>
Note, be carefully with delete files from /sdcard/media_rw/ --> can lost your /video/movie/music/picture/etc...
Use at your own risk
qqq1971, do you mind if other users alter / improve your code?
Yes of course. Feel free.
-
Please, can this be made to also bring back the DVD/BD-ROM mounting capabilities that we had with previous firmwares ?
-
MOVED TO NEW STICKIED THREAD: http://www.futeko.com/newforum/index.php?topic=1421.0