![]() |
![]() |
![]() |
![]() |
This appendix presents some examples that help illustrate how to use MediaFS. It contains:
The following presents a MediaFS instance representing an iPod device:
ipod0/: total 3 dr-xr-xr-x 3 root root 512 Jun 01 11:28 . dr-xr-xr-x 2 root root 0 Jun 01 11:28 .. dr-xr-xr-t 3 root root 512 Jun 01 11:28 .FS_info. dr-xr-xr-x 2 root root 512 Jun 01 11:28 Music ipod0/.FS_info.: total 6 dr-xr-xr-t 3 root root 512 Jun 01 11:28 . dr-xr-xr-x 3 root root 512 Jun 01 11:28 .. nrw-rw-rw- 1 root root 0 Jun 01 11:28 control lrwxrwxrwx 1 root root 0 Jun 01 11:28 current -> -r--r--r-- 1 root root 1127 Jun 01 11:28 info.xml dr-xr-xr-x 2 root root 512 Jun 01 11:28 playback ipod0/.FS_info./playback: total 2 dr-xr-xr-x 2 root root 512 Jun 01 11:28 . dr-xr-xr-t 3 root root 512 Jun 01 11:28 .. ipod0/Music: total 10 dr-xr-xr-x 10 root root 512 Jun 01 11:28 . dr-xr-xr-x 3 root root 512 Jun 01 11:28 .. dr-xr-xr-x 2 root root 512 Jun 01 11:28 Albums dr-xr-xr-x 2 root root 512 Jun 01 11:28 Artists dr-xr-xr-x 2 root root 512 Jun 01 11:28 Audiobooks dr-xr-xr-x 2 root root 512 Jun 01 11:28 Composers dr-xr-xr-x 2 root root 512 Jun 01 11:28 Genres dr-xr-xr-x 2 root root 512 Jun 01 11:28 Playlists dr-xr-xr-x 2 root root 512 Jun 01 11:28 Podcasts dr-xr-xr-x 2 root root 512 Jun 01 11:28 Songs
The following presents an MediaFS info.xml file for an iPod device:
<?xml version="1.0" standalone="yes"?> <info> <media> <device>iPod</device> <protocol> <general>1.02</general> <display_remote>1.01</display_remote> <extended>1.09</extended> </protocol> <name>Yov Yovchev’s iPod</name> <serial>JQ44915UR5S</serial> <swversion>1.2.1</swversion> <model> <id>0x00060000</id> <number>P9585LL</number> <generation>1</generation> <type>iPod photo</type> <size>40GB</size> <color>white</color> </model> <audio> <eq>off</eq> </audio> <display> <limit> <type>2</type> <format>le_rgb565</format> <height>110</height> <width>210</width> </limit> <limit> <type>3</type> <format>be_rgb565</format> <height>110</height> <width>210</width> </limit> <limit> <type>1</type> <format>mono</format> <height>110</height> <width>210</width> </limit> </display> </media> <fsys> <type>ipod</type> <mountpoint>/fs/ipod0</mountpoint> <mountdevice>file-2-ipod-5-media</mountdevice> </fsys> <device> <driver>ipod</driver> <catagory>media</catagory> <transport> <type>ser_ipod</type> <dev>/dev/serfpga3</dev> </transport> </device> </info>
For an example from an info.xml file used for a media changer device, see “The info.xml file for mediastore changers” in the chapter Media Changers.
![]() |
![]() |
![]() |
![]() |