Page 1 of 1

Multiple or dedicated folder sharing?

Posted: Sun Jan 03, 2010 4:57 am
by hfxrzw
Hi, is it possible to select just one share to use for uShare, so only the music or movies folder is shared instead all together?
If yes, would it be possible to have multiple uShare sessions running for the different folders/shares with different names?
Thanks, Rene.

Re: Multiple or dedicated folder sharing?

Posted: Fri Jan 15, 2010 3:14 am
by cpg
can you use one directory only? yes - check /var/hda/apps/ushare/ushare.conf
(i think it's like that - also, could you add it to the wiki page for ushare? we're trying to remove load from the core team by encouraging community participation)

Re: Multiple or dedicated folder sharing?

Posted: Fri Jan 15, 2010 8:51 am
by rampage537
The text in red is the changes that I made to only allow movies, i noticed that they had to be on there own line or they would still show up.

Code: Select all

# /etc/ushare.conf # Configuration file for uShare customised for Amahi # uShare UPnP Friendly Name (default is 'uShare'). USHARE_NAME="Amahi (uShare)" # Amahi specific settings a colon-separated list of directories # with the media in it USHARE_UNION=/var/hda/files/movies [color=#FF0000]#:/var/hda/files/music #:/var/hda/files/pictures[/color] # Interface to listen to (default is eth0). # Ex : USHARE_IFACE=eth1 USHARE_IFACE= # Port to listen to (default is random from IANA Dynamic Ports range) # Ex : USHARE_PORT=49200 USHARE_PORT= # Port to listen for Telnet connections # Ex : USHARE_TELNET_PORT=1337 USHARE_TELNET_PORT= # Directories to be shared (space or CSV list). # Ex: USHARE_DIR=/dir1,/dir2 # USHARE_DIR= # Default shares from Amahi USHARE_DIR=/var/hda/apps/ushare/files # Use to override what happens when iconv fails to parse a file name. # The default uShare behaviour is to not add the entry in the media list # This option overrides that behaviour and adds the non-iconv'ed string into # the media list, with the assumption that the renderer will be able to # handle it. Devices like Noxon 2 have no problem with strings being passed # as is. (Umlauts for all!) # # Options are TRUE/YES/1 for override and anything else for default behaviour USHARE_OVERRIDE_ICONV_ERR=yes # Enable Web interface (yes/no) USHARE_ENABLE_WEB=no # Enable Telnet control interface (yes/no) USHARE_ENABLE_TELNET=no # Use XboX 360 compatibility mode (yes/no) USHARE_ENABLE_XBOX=yes # Use DLNA profile (yes/no) # This is needed for PlayStation3 to work (among other devices) USHARE_ENABLE_DLNA=

Re: Multiple or dedicated folder sharing?

Posted: Fri Jan 15, 2010 8:53 am
by rampage537
shoot sorry when its in the code tag colors dont show up

# /etc/ushare.conf
# Configuration file for uShare customised for Amahi

# uShare UPnP Friendly Name (default is 'uShare').
USHARE_NAME="Amahi (uShare)"

# Amahi specific settings a colon-separated list of directories
# with the media in it
USHARE_UNION=/var/hda/files/movies
#:/var/hda/files/music
#:/var/hda/files/pictures


# Interface to listen to (default is eth0).
# Ex : USHARE_IFACE=eth1
USHARE_IFACE=

# Port to listen to (default is random from IANA Dynamic Ports range)
# Ex : USHARE_PORT=49200
USHARE_PORT=

# Port to listen for Telnet connections
# Ex : USHARE_TELNET_PORT=1337
USHARE_TELNET_PORT=

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
# USHARE_DIR=

# Default shares from Amahi
USHARE_DIR=/var/hda/apps/ushare/files

# Use to override what happens when iconv fails to parse a file name.
# The default uShare behaviour is to not add the entry in the media list
# This option overrides that behaviour and adds the non-iconv'ed string into
# the media list, with the assumption that the renderer will be able to
# handle it. Devices like Noxon 2 have no problem with strings being passed
# as is. (Umlauts for all!)
#
# Options are TRUE/YES/1 for override and anything else for default behaviour
USHARE_OVERRIDE_ICONV_ERR=yes

# Enable Web interface (yes/no)
USHARE_ENABLE_WEB=no

# Enable Telnet control interface (yes/no)
USHARE_ENABLE_TELNET=no

# Use XboX 360 compatibility mode (yes/no)
USHARE_ENABLE_XBOX=yes

# Use DLNA profile (yes/no)
# This is needed for PlayStation3 to work (among other devices)
USHARE_ENABLE_DLNA=

Re: Multiple or dedicated folder sharing?

Posted: Sun Jan 17, 2010 8:24 am
by hfxrzw
Happy to post in the Wiki, but I don't know how. I have noticed that the team is asking for people to add to the Wiki in a lot of the posts; could you put a sticky in the general part with some simple instructions how to do that? I would think you would see a lot more support then. Cheers, Rene.

Re: Multiple or dedicated folder sharing?

Posted: Tue Jan 19, 2010 9:29 am
by rampage537
I will try to set up simple instructions on how to modify the config file as a sticky tonight.