Changes

From Amahi Wiki
Jump to: navigation, search
872 bytes added ,  15:04, 12 December 2009
Expanded explanation for new user how to edit ushare.conf
Ushare has an issue: it does not refresh it's database periodically with new files or folders being added.
== Adding Files Folders ==
*On the hardware running Amahi, open a terminal: Applications-> System tools -> TerminalLog as root:*On windows SSH to your HDA [[http://wiki.amahi.org/index.php/Key-based_SSH_Logins_With_Putty|SSH login with Putty]]*With Linux open a teminal '''su'''Enter your password, then type: nano /var/hda/apps/ushare/ushare.conf Now use the cursor to go to the line--> USHARE_UNION=/var/hda/files/movies:/var/hda/files/pictures:/var/hda/files/music Now you can add the folders at the end of the line, every entry has to be saparated by a colon ''':''' Ex: USHARE_UNION=/var/hda/files/movies:/var/hda/files/pictures:/var/hda/files/music:/var/hda/files/music''':/var/hda/files/torrents''' Now to save the modified ushare.conf file, hit F3 ot Ctrl+O . To exit nano, press F2 ot Ctrl+X. So, any time you add any files to your movies/music/pictures folders, please restart it via the servers area (under Setup -> Applications -> Servers, with advanced settings turned on), or by hand with the terminal as root, with
service amahi-ushare restart
We are considering issuing the research via a crontab every few minutes.
== Adding Folders ==Now Amahi Ushare should be visible on your PS3 or Xbox 360. It will list all the media, which can be very long. * Similar I removed the pictures folder, to files, modify make the line with USHARE_UNION in:list more manageable. You can add/remove to fit your needs.
/var/hda/apps/ushare/ushare.conf
* Then
service amahi-ushare restart
== Logs & Other Goodies ==
30

edits