[Request] Vpn Mounted Music Path - Nexus One Q&A, Help & Troubleshooting

It would be great it I could set my phone on my VPN, which is possible now. But have that path accessed by the default music player as well as the storage card.
I know the pictures inside the MP3 would need to be sync or blocked but a 3G connection can handle 320kbps streaming no problem which is close the highest bitrate for mp3's with out breaking compatibility.
This would rock
Please
1Way

look at the orb client.. that is what it does.. you can have a home server with orb and share your music and videos, photos etc. over the net even through a vpn with orb client..
i havent tried any clients on my n1 however..

woudl still want this feature made but in the meantime thats for the idea.
Never tried Orb
=)
*** EDIT ***
Orb isn't for me and it has tons of complaints and not looking to use 3rd party software on pc but thanks for the information.

i use orb for some things but yeah from what ive read the android client sucks
look at subsonic, its very quick and easy to set up, but you said no pc software....hmm, good luck and post something if you find it.

I'm looking at doing exactly this when I get my replacement Nexus One. Mine is getting swapped for a warranty replacement right now.
I'm 99% positive this will work too. It will go something like this:
1. Establish a VPN connection to my NAS box that houses my music collection
2. Mount the smb share using CIFS (requires a rooted device with modded kernel containing the cifs module, such as Enomther The Official), info on doing this can be found here: android.doshaska.net/cifs
3. Load up my favorite music app and steam all my tunes over 3G!

UPDATE: This works, sort of...
Alright, so I have my NAS box (Netgear Stora) mounted to my Nexus One file system using cifs. I'm running Enomther's TheOfficial froyo rom, which comes with the cifs module. Here are the commands I used to get it mounted:
prerequisites:
1. WIFI Connection to same lan that the NAS box is connected to (presumably this will work over VPN also, need to test) EDIT: Confirmed this works over VPN also.
2. Rom with CIFS module compiled for the kernel (I used Enomther's TheOfficial Nexus1 Froyo)
commands I used to mount:
can be done from terminal emulator app or ADB Shell.
obviously change the IP address, mount locations, username, and password to your needs.
1. insmod /system/lib/modules/2.6.32.16-TheOfficial/cifs.ko
2. chmod 0777 /data
3. mkdir /data/mounted
4. busybox mount -t cifs //192.168.1.141/MyLibrary /data/mounted -o username=user,password=pass
5. cd /
6. cd data
7. cd mounted
8. chmod 0777 *
After this, you will be about to browse the mounted files and folders under the /data/mounted location either from the terminal emulator, ADB Shell, or a file explorer app on the android phone.
HOWEVER, here is my current issue. Hopefully someone can help me out here.
I can browse my files and see MP3's from the terminal or file explorer apps, I can even click on an MP3 and load it up into my music apps and play it, I use Meridian Media Player. However, if I go into Meridian and browse folders from that app, can I go into my mounted shares and music folders, and I can see all files in there EXCEPT mp3's. They just don't show up through any media app I've tried. However, like I said, I can see them just fine from a file explorer app such as EStrongs or from the terminal. Anyone have any idea why?

bump, need help

Related

[Q] Shortcuts possible to sdcard2?

Hi, I'm running Vegan 5.1 on Gtab. I know I can put shortcuts on the desktop but that isn't what Im trying to do. For instance I want to use a audio or video player that searches by default for files in folders on sdcard such as audio or video. When the program searches /sdcard/video I would like to redirect it to /sdcard2/video. Wouldn't a shortcut in one directory redirect to another location and be "visible" to the host program? I'm trying to get audio and video players to find sdcard2. If a shortcut existed to the directory or file itself wouldn't that work? Looking around I don't see much about this, and it may not be possible with android. The only information I see is about shortcuts on the desktop. Any ideas? Thanks.
Try this- ../sdcard2/(target directory)
Sent from my Viewsonic G Tablet running TnT Lite 4.2.2 w/ Pershoot's Kernel using Tapatalk Pro
Try this- ../sdcard2/(target directory)
Click to expand...
Click to collapse
Thanks, but I don't understand how to apply this. Lets say I have a video file at /sdcard2/video/movie.mp4. If I could make a shortcut to the movie.mp4 file and place it in /sdcard/video, then movie player program would be able to see it. Since I can't change the path for the movie player to search, I'm going to have to bring the files to where they can be found. I want to use sdcard2 for multimedia storage and put shortcuts to video and music on internal sdcard. I can mke shortcuts to the desktop all day long, but I can't find how to move them into a different folder. Also I don't know where the desktop folder, if indeed there is such a folder is located. If I could find the desktop folder I could copy or move the shortcut from there. Like I say, this may not even be possible.
you can always use astro file manager to open the video/audio file. i have the same problem opening videos that only vital player recognizes, but it only gives the option to sdcard not sdcard2 or usb. so i search for the file in astro and open with vital.
I know this is an old thread, but here's what I have been doing in VEGAn 5.11.
Make a directory called sdcard2 in /mnt/sdcard -- you can do this with a file manager or in the shell. You only have to do this once
Open a shell.
Enter:
su
First time you do this you'll have to acknowledge root. If you tell it to remember, you won't have to do it again.
Type
mount -o bind /mnt/sdcard2 /mnt/sdcard/sdcard2
That's it. Now you will have an sdcard2 folder nested in the sdcard folder. The only problem is it won't survive a reboot. I was looking for /etc/fstab to do this permanently but there is only a vold.fstab file so not sure if that will work or not. Need to try it and see I suppose.
Re Calkiuns ROM I believe it's native...
Sent from my PC36100 using XDA Premium App
I actually have a few movies saved in SD card 2 I long press chose shortcuts, astro,scroll to SD card2 and choose the movie witch puts it on my homescreen I then put them all in a movie folder on the homescreen... hope that helps.. I'm running tnt lite 4.3
nice tip about the shortcuts. however, it doesn't work if you have an application that only works with the sd card
besides, I can imagine wanting to start other things like sshd
One other thing I've noticed. If you do the bind mount (https://market.android.com/details?id=os.tools.scriptmanager looks like it would be good for doing this on boot, btw) then putting the tablet in USB file transfer mode just spins forever. Well maybe it just takes a long time searching sdcard2 but I finally cancelled it. The solution is:
umount /mnt/sdcard/sdcard2
Then do the USB operation.

Smbmount?

I would like to mount some network storage on my device. I tried using file expert but it doesn't seem to be able to mount specific shares -- in mother words, my NAS doesn't advertise shares so you have to hit them directly (I.e. \\server\share). What app can I use to do this? Can I just open a console and do a mount -t cifs?
andsmb works great. i use it on the xoom to download music and ebooks from my nas.
https://market.android.com/details?id=lysesoft.andsmb&feature=search_result
Perfect thanks.
gregnice631 said:
andsmb works great. i use it on the xoom to download music and ebooks from my nas.
Click to expand...
Click to collapse
seems very slow, maxed out at about 112kb/s for me. anybody know of anything faster?

[Q] App to stream media from Network Attached Storage?

Is there an app that would let me stream media files and DVD folder structures from a Network Attached Storage device on my LAN?
CIFS Manager.
Sent from my Droid using XDA App
tenet420 said:
CIFS Manager.
Sent from my Droid using XDA App
Click to expand...
Click to collapse
This looks like something that should work but for the life of it I can't get it configured to work :-(
Es file explorer or upnp play. Both works fine for me except 720p if ur running GB and up
To keep my life simple I used Clemsyns kernel and CIFS Manager worked with no issues. I have tried out some 720p files and they have worked well with Moboplayer. With Pershoots Kernel I had to manually add the cifs.ko which did work in the end but took some work. I pulled the basic instructions from his page.
To use one of the kernel modules:
Pull the one you want from lib-2632.39.tar.gz (winrar can open this),
adb remount
adb push MODULE.ko /system/lib/modules/2.6.32.39-cyanogenmod/
adb shell chmod 644 /system/lib/modules/2.6.32.39-cyanogenmod/MODULE.ko
adb shell insmod /system/lib/modules/2.6.32.39-cyanogenmod/MODULE.ko
By far this is the best feature for me for the gtab.
Skifta was really easy to set up and use... works well on my gTab and Nexus One.
Allows streaming from pc, phone or tablet on pc, phone or tablet.
www.skifta.com/
Emit or Plex should work wonderfully for you. Both encode video on the fly. I have used Plex since it was released for Android and really like how it flows.

Mapping CIFs network drives for use in VR Gallery.

Hi everyone, I've been trying to fiddle with my CIFs network hard drive shares to see if there was any way to virtually mount them so that the Gallery sees them as though they were on my SDCard locally. I know that with kitkat it is required that you use a kernel that supports CIFs and as of Dec 6th, AEL (I use the TMo variant of the Note 4) supposedly supports CIF's network shares.
I have been able to successfully mount them using CIFS manager in the play store but when going to browse within any file explorer the folders show up but they are empty. Does anyone have any other ideas? I would love to be able to use the VR Gallery to browse 3D files stored on my PC as I have a rather extensive selection and having to copy back and forth on to the micro SD is a slow and tedious process. Hopefully this feature is added in the future but for the time being I'd love to get some ideas on whether or not we could possible get files to stream over wifi from a file server.

CIFS support

I've been wanting to mount a CIFS/SMB share so that I can use apps that can't normally access a network folder. File explorers can allow one particular file to be opened, but I can't do something simple like shuffle a playlist for a music player or navigate to a particular book using an app's library management features. I saw that CIFSManager was an option, but I don't know if the Droid Turbo has any kernels that support it. Is there a custom kernel that supports it, or is there a way to add that functionality to an already existing kernel?

Categories

Resources