Multiple or dedicated folder sharing?

hfxrzw
Posts: 40
Joined: Sun Dec 27, 2009 8:03 am
Location: Scotland

Multiple or dedicated folder sharing?

Postby hfxrzw » Sun Jan 03, 2010 4:57 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Multiple or dedicated folder sharing?

Postby cpg » Fri Jan 15, 2010 3:14 am

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)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: Multiple or dedicated folder sharing?

Postby rampage537 » Fri Jan 15, 2010 8:51 am

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=
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: Multiple or dedicated folder sharing?

Postby rampage537 » Fri Jan 15, 2010 8:53 am

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=
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

hfxrzw
Posts: 40
Joined: Sun Dec 27, 2009 8:03 am
Location: Scotland

Re: Multiple or dedicated folder sharing?

Postby hfxrzw » Sun Jan 17, 2010 8:24 am

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.

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: Multiple or dedicated folder sharing?

Postby rampage537 » Tue Jan 19, 2010 9:29 am

I will try to set up simple instructions on how to modify the config file as a sticky tonight.
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

Who is online

Users browsing this forum: No registered users and 15 guests