29ee9d155a7db00131f879ecc2b7bb955e3a50a0
MediaCentre/Games.md
| ... | ... | @@ -19,19 +19,19 @@ The script: |
| 19 | 19 | |
| 20 | 20 | sudo apt-get install autofs |
| 21 | 21 | |
| 22 | -[[$[Get Code]]][4] |
|
| 22 | + |
|
| 23 | 23 | |
| 24 | 24 | `/etc/auto.mediasys` |
| 25 | 25 | |
| 26 | - mediasys -fstype=cifs,username=foo,password=bar ://media/mediasys |
|
| 26 | + /auto/mediasys -fstype=cifs,rw,credentials=/etc/auto.xbmc.credentials,iocharset=utf8,uid=osmc,gid=osmc ://media/mediasys |
|
| 27 | 27 | |
| 28 | 28 | |
| 29 | -Add at the end of `/etc/auto.master` |
|
| 29 | +Add to `/etc/auto.d/whalebarn.autofs` |
|
| 30 | 30 | |
| 31 | - /mnt /etc/auto.mediasys --timeout=300 |
|
| 31 | + /- /etc/auto.mediasys --timeout 15 browse |
|
| 32 | 32 | |
| 33 | 33 | |
| 34 | -This combination mounts `//media/mediasys` as `/mnt/mediasys`. |
|
| 34 | +This combination mounts `//media/mediasys` as `/auto/mediasys`. |
|
| 35 | 35 | |
| 36 | 36 | |
| 37 | 37 | |
| ... | ... | @@ -39,18 +39,16 @@ This combination mounts `//media/mediasys` as `/mnt/mediasys`. |
| 39 | 39 | |
| 40 | 40 | `/etc/emulationstation/es_systems.cfg` using |
| 41 | 41 | |
| 42 | - :%s%/home/osmc/RetroPie/roms/%/mnt/mediasys/games/library/%g |
|
| 43 | - in vim: |
|
| 44 | - |
|
| 45 | - |
|
| 46 | - |
|
| 42 | + :%s%/home/osmc/RetroPie/roms/%/auto/mediasys/games/library/%g |
|
| 43 | + |
|
| 44 | + in vim: |
|
| 47 | 45 | |
| 48 | 46 | <?xml version="1.0"?> |
| 49 | 47 | <systemList> |
| 50 | 48 | <system> |
| 51 | 49 | <name>amstradcpc</name> |
| 52 | 50 | <fullname>Amstrad CPC</fullname> |
| 53 | - <path>/mnt/mediasys/games/library/amstradcpc</path> |
|
| 51 | + <path>/auto/mediasys/games/library/amstradcpc</path> |
|
| 54 | 52 | <extension>.cdt .cpc .dsk .zip .CDT .CPC .DSK .ZIP</extension> |
| 55 | 53 | <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 \_SYS\_ amstradcpc %ROM%</command> |
| 56 | 54 | <platform>amstradcpc</platform> |
| ... | ... | @@ -59,7 +57,7 @@ This combination mounts `//media/mediasys` as `/mnt/mediasys`. |
| 59 | 57 | <system> |
| 60 | 58 | <name>arcade</name> |
| 61 | 59 | <fullname>Arcade</fullname> |
| 62 | - <path>/mnt/mediasys/games/library/arcade</path> |
|
| 60 | + <path>/auto/mediasys/games/library/arcade</path> |
|
| 63 | 61 | <extension>.7z .cue .fba .iso .zip .7Z .CUE .FBA .ISO .ZIP</extension> |
| 64 | 62 | <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 \_SYS\_ arcade %ROM%</command> |
| 65 | 63 | <platform>arcade</platform> |
| ... | ... | @@ -68,5 +66,3 @@ This combination mounts `//media/mediasys` as `/mnt/mediasys`. |
| 68 | 66 | ... |
| 69 | 67 | |
| 70 | 68 | |
| 71 | - [4]: Games?action=sourceblock&num=1 |
|
| 72 | - [6]: Games?action=sourceblock&num=2 |
|
| ... | ... | \ No newline at end of file |