Ushare

jonstutler
Posts: 1
Joined: Sat Mar 28, 2009 12:25 pm

Ushare

Postby jonstutler » Sat Mar 28, 2009 12:28 pm

Can anyone give me some guidance on how to configure ushare? It's up and running but I'd like to add more directories to share(i.e movies, music, pictures). Right now the directory is sees by default is my music directory.

TIA,

Jon

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

Re: Ushare

Postby cpg » Sat Mar 28, 2009 12:51 pm

the configuration is in /var/hda/apps/ushare/ushare.conf and that file was made writeable by users. this is where the settings are:

Code: Select all

# 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
then, as root, type:

Code: Select all

service amahi-ushare restart
NOW - obviously we'd like to make this configurable. however, we decided in the interest of releasing it asap and not wait until it's "done" (for some definition of "done") to start with a hard coded configuration that "mixes" all the content into one "union" folder and then we would worry about making it more programmable. obviously we'd like to add something to let you add things on the fly.

we discussed several options.

question: which one would you like best as a user or you think users in general will like better?:
  • 1.- the app would recognize tags so that if you put a tag of ushare in a share, it is made available to ushare. by default, any shares with tags of music, movies or pictures would be tagged ushare at install time
  • 2.- the app would have it's own little control panel, like amahitunes, to allow adding any directory to it
there may be other options, of course.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

Re: Ushare

Postby gjc1000 » Sun Apr 05, 2009 12:40 pm

I wanted to do the same thing, point to where my files are. I tried your command suggestions, but terminal came back with "service" not a command. In a text editor I manually changed the .conf file, saved it and then went to the GUI service tab in fedora and restarted ushare. But this didn't work either. On a bright note, several boxes see ushare upnp but they show the default files/folders. Any ideas?
thanks in advance
gjc1000
Chi pecora si fa, il lupo se la mangia.

robrown
Posts: 5
Joined: Tue Mar 31, 2009 10:07 pm

Re: Ushare

Postby robrown » Sun Apr 05, 2009 3:39 pm

How can you separate them out on the xbox? When I go to VIdeos I see them, but then when I go to Music it shows my videos too.

gdom
Posts: 2
Joined: Fri Mar 20, 2009 5:50 am

Re: Ushare

Postby gdom » Mon Apr 13, 2009 3:17 am

seems that ushare places a copy of the files in the /var/hda/apps/ushare/files directory
im hoping im mistaken couse this would generate quite a few hundreds of gigs extra in my case.
If this is the case why oh why does it do this and how to get around it?

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

Re: Ushare

Postby cpg » Mon Apr 13, 2009 10:03 am

these are not copies :D

these are virtual files, via unionfs, which basically makes a union (as in set union) of a bunch of directories.

this is a solution we implemented to overcome a limitation in ushare. apparently the program has problems taking more than one directory simultaneously.

the big issue is that adding file dynamically, while it's picked up by the union dir, it is not picked up by ushare. it needs to be restarted (service ushare restart).

the other choices for upnp server do not work as good as ushare (which is really not that well ...).

the upnp situation is a little bleak ... :(
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Ushare

Postby moredruid » Tue Apr 14, 2009 12:44 am

perhaps you can use symlinks? just a thought (haven't looked at upnp)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

arrrghhh
Posts: 3
Joined: Sun Jun 07, 2009 11:57 am

Re: Ushare

Postby arrrghhh » Sun Jun 07, 2009 12:05 pm

have you guys looked at implementing ps3media server? it's a google SoC project, that is (perhaps unfortunately) written in java. completely cross platform however, and just depends on ffmepg mainly (i believe). there is a gui if you want one, but if you run a headless server (like i do currently) it's perfectly fine being configured thru conf files. i'm actually extremely impressed at how well the app works in linux, while the guy developing it is mainly a windows guy. it transcodes on-the-fly, and there is basic xb360 support (unfortunately m$ didn't implement the DNLA protocol properly, you can actually read about it in the ps3media server forums. http://code.google.com/p/ps3mediaserver/ that's the google SoC homepage for the project. should be fairly easy to drop into amahi. i'm still running ubuntu and would love to see amahi be added on top of it. i need to get another drive to really test amahi. i've never used ushare, so i'm not even quite sure what its capabilites are but ps3mediaserver is the BEST one i've used. i have a tv that's DLNA compliant, and it plays all the music and video that the tv says it'll play (no divx/xvid booo!) so i stick to using my ps3 for media streaming. so IMHO this upnp media server is for more than just ps3's, it's just that the project was born specifically for that device - because to my knowledge as far as standards compliance goes the PS3 is the best device for a upnp client.

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

Re: Ushare

Postby gjc1000 » Sun Jun 07, 2009 2:53 pm

gjc1000
Chi pecora si fa, il lupo se la mangia.

arrrghhh
Posts: 3
Joined: Sun Jun 07, 2009 11:57 am

Re: Ushare

Postby arrrghhh » Sun Jun 07, 2009 3:01 pm

mediatomb isn't bad, but needs quite a bit of configuration, and doesn't do near what ps3media does out-of-the-box. i still wasn't able to get transcoding to work with mediatomb, and it works as advertised - without any fuss - assuming all dependencies are met - in ps3media... that's why i HIGHLY recommend it.

Who is online

Users browsing this forum: No registered users and 13 guests