[REF] Streaming media from SMB shares - Galaxy S I9000 Android Development

This guide will tell you how to stream media from your SMB shares (eg. windows shares) and bypass that pesky allshare player wich is very broken at this time. It cant playback most files, no timeline skipping etc.
What you need:
Root @ your Galaxy S
Some sorta terminal application installed (eg http://www.appbrain.com/app/android-terminal-emulator/jackpal.androidterm )
cifs.ko kernel module:
http://forum.xda-developers.com/showthread.php?t=761414
Cifsmanager (sorta optional but beats doing this in terminal
http://forum.xda-developers.com/showthread.php?t=756158
The phone i used in this guide is running Froyo JPA (not tested on other versions)
You need to download the file called froyo.zip from the 2nd URL posted.
This contains 2 files slow-work.ko and cifs.ko
Copy these 2 files into your phone, doesnt really matter where you copy them, as long as you remember where.
Open terminal emulator on phone:
su first
Then go to the path where you copied the .ko files
type
insmod slow-work.ko (slow-work MUST be installed first)
insmod cifs.ko
These modules should now get installed and you can exit terminal client
Install and open Cifsmanager
make a new mount by typing in the required information: xxx.xxx.xxx.xxx/sharename, username/pass etc
it will suggest a mountpoint wich you can use or make your own.
Pull up your favorite filemanager and browse your share, play videos and music without that pesky allshare player!
Enjoy!
All the credit goes to darkbyt3 for creating the kernel modules and f3d0r for making cifsmanager. Good work!

Very nice quick-guide
Worth mentioning you don't *need* to use terminal, you can set "Load via insmod' in the CIFSManager options. Personal preference really...
You set the path to slow-work.ko in CIFSManager, exit CIFSManager (properly, via menu), re-open the app, then set the path to cifs.ko, exit and re-open, then all your shares work.
To make it easier I've named then 1.ko and 2.ko and placed the files in the same folder, so you only need to change the number in CIFSManager each time you restart the device
Also there is a different CIFS.ko for Eclair, where you don't need to mess around with the slow-work.ko

This is very nice, have to look into this. Thanks for the reminder

Thanks for the post, works great! Allshare is a piece of rubbish compared to other native video players, and using this method means I can have all the functionality of the native players with streaming media

So can we acces shares on 3g, or do we need to be connected to wifi ?

Hanness said:
So can we acces shares on 3g, or do we need to be connected to wifi ?
Click to expand...
Click to collapse
This depends on your network configuration really, one would need static ip or some sorta service like dyndns.org and routing set up correctly for it to work with 3g. But by all means its very possible. Guessing video streaming would be taxing on battery and your phonebill if you dont have a good dataplan Streaming music would probably work nicely on 3g.

I haven't tried Allshare, because I always access streamed media from EStrongs File Explorer. Is there some sort of difference from what I mean with streaming=opening a media file on my sgs from a samba shared folder when connected with wifi to my home router?

thunderteaser said:
I haven't tried Allshare, because I always access streamed media from EStrongs File Explorer. Is there some sort of difference from what I mean with streaming=opening a media file on my sgs from a samba shared folder when connected with wifi to my home router?
Click to expand...
Click to collapse
With Estrongs there's a very limited media player, and from what I believe it doesn't stream to your phone and has to copy it locally to a temporary location first [tried it with a large file and it wouldn't play for a few minutes until the content had completely copied first]

The aim of this "project" was to be able to steam video and audio from my windows fileserver, started out with windows mediaplayer DLNA and moved on to Windows media connect because 2008R2 does not have the DLNA component in its windows media player. Moved on to trying other kinds of media servers with and without transcoding. With no particular success. Then i stumbled over these smb modules for the phone. It worked well with minimal effort. I have not tried EStrong file manager personally, but i was under the impression that the internal player did not handle SMB shares on its own. Perhaps it has some kinda SMB functionality? If you can open your mediafiles with it alone, that sounds nice. But it also sounds kinda too good to be true, perhaps it buffers the file locally somehow and its not actually doing true streaming?

jezza333 said:
With Estrongs there's a very limited media player, and from what I believe it doesn't stream to your phone and has to copy it locally to a temporary location first [tried it with a large file and it wouldn't play for a few minutes until the content had completely copied first]
Click to expand...
Click to collapse
Oh, sure! It saves a local copy, so it's not actually streaming... Now I can understand the usefulness of this thread!

Related

Playing WMA from PC using WiFi

Does anybody know of a way to have media player play files on a remote PC as if they were installed locally?
I have my CD collection on my PC and I'd like to be able to play music from this using my XDAIIs using Wifi.
I've managed to see the files on the PC from the XDAIIs but clicking on them will not play them. However, if I create a shortcut to the file in question, and click on it, the track will play!
Unfortunately, if I create a second shortcut in the same folder to another file on the PC, media player doesn't play it automatically. I have to click on each shortcut that I wish to play.
You can use iTunes to do this, but you have to have WM2003, because I could no longer get it to work when I upgraded to WM5.0. It is called wifitunes, and it is still in alpha testing, but don't let that scare you, because it works well for me. Here is a link:
http://www.aspecto-software.com/WiFiTunes/WiFiTunes.htm
And of course you have to have iTunes installed on your pc (free from apple).
Let me know if this works for you!
I use resco file explorer and simply map the shared drive on my desktop to my SX66. I use TCPMP and can play avi, mpeg, mp3, wav etc on my SX66 over my wifi with no problems.
Thanks,
I tried WiFiTunes but I couldn't get it to work. Putting iTunes on the PC also required me to convert the track from WMA lossless to the Apple format which I wasn't keen to do but thanks for the suggestion.
I've downloaded a trial copy of resco file explorer, it looks like a good product to have irrespective of whether it helped with this particular issue. Used with TCPMP it does exactly what I want.
The only downside is that you have to create playlists because it doesn't organise the content into album, artist and genre lists in the same way that WMP10 does.
As I have nearly 3000 tracks it's going to take me some time to create the playlists but it's something to keep me out of mischief for a while!
Thanks for your help

Network Drive Mapping on Rhodium?

Hey guys i want to know if its possible to map a drive on my network so that i can access the files via Coreplayer to directly watch it.
Has anyone done that before? Possible or not?
Please feel free to answer, infos, tips, anything
Nice evening guys.
it's pretty easy to do locally with a good file browser. I use resco, it's a paid app but it's great. map a drive like you would on a pc with your wireless connected to your local internet, as long as the drive or folder is shared on the host pc it works great. I can watch movies stored on my pc on my tp2.
as long as you have coreplayer set as the default mp3 or whatver player as well.
majorassface said:
as long as you have coreplayer set as the default mp3 or whatver player as well.
Click to expand...
Click to collapse
Do i need a registryeditor for that?
maron1981 said:
Do i need a registryeditor for that?
Click to expand...
Click to collapse
No, most all media players will have somewhere in their settings the option to set the player as the default handler for different media types (.mp3, .avi, etc). Whichever media player you use, just find those settings and make sure it's set to that for whatever media types you're trying to access over the network. That way, once you navigate to the files in resco file explorer, and click on them, that player should recognize them and open to play them.
To test it just open IE and type your networkpath as URL (\\your-pc\share\mp3) and the phone should open file explorer in the mp3 folder. select a file to play and coreplayer starts. If coreplayer isn't your default player the file will be played with WMP.
This should be usefull

[Q] Streaming music over wireless onto your desire?

I would like to know if there is any app that can stream music over wireless to my Desire.
I have my Pc in one room and a stereo with a line-in in the living room. So now I would like to be able to get the Mp3s from my PC to my desire so that I can hear it in the living room. Ideally I would like all sounds transferred, Mp3 player, youtube and the beep for incoming messages etc. but I would already be happy if its just the output of the mp3 player (i use winamp).
If I had to I would even install some other mp3 player on my Pc.
Sorry if this was asked before. I searched and did not quite find the answer.
If you have your music folder shared on your LAN, then EStrongs File Explorer is able to stream and play music on your phone.
http://www.appbrain.com/app/com.estrongs.android.pop
When the application is running, you can see a butten (typically) named "Local" in the top right corner. Press it and select "LAN". Then press menu --> New --> Server to add your music server to the phone. You can the explore the newly added server and stream music directly to your phone.
Of course, EStrongs File Explorer can much more than the above. It is a file explorer first of all. But a good one none the less
Ok, first off: good call on the File Explorer, that is pretty sweet.
Being able to get to all your shared stuff from your phone, top
Just one more question, when it comes to music, i navigate to the folder, click on the song and it plais, but only just that one song. Is there a way to use a number of files or a folder?
or can I make my standard music player on my Desire access a folder somehow?
EStrongs File Explorer is, to my knowledge, only capable of playing one song at the time. If you need playlist support, playing of folder etc., then you will need another program.
The application named EyeconTroller may be a possibility. I, however, have only used it together with a DLNA server (Windowns Media Player, Mezzmo etc) running on the computer where the music files are located. I am not sure if EyeconTroller can access shared folders on the LAN (folders not shared by DLNA).
http://www.appbrain.com/app/com.eyecon.cloud
why not mount the music folder using cifs manager? it will give you transparent file streaming. i've used it to access my movie collection on my laptop.
w.0.o.t said:
why not mount the music folder using cifs manager? it will give you transparent file streaming. i've used it to access my movie collection on my laptop.
Click to expand...
Click to collapse
That application requires root. Not everyone has rooted their phone.
(My phone is rooted, will try out the application)
Have you tried Subsonic (subsonic.org/pages/index.jsp )? With it you can stream music from your PC over the internet,from any web browser.It also has android app.It even can transcode FLAC to mp3.
ULJ said:
That application requires root. Not everyone has rooted their phone.
(My phone is rooted, will try out the application)
Click to expand...
Click to collapse
yes i forgot to mention that. thank you.
Andromote streams music from pc via upnp
ULJ said:
That application requires root. Not everyone has rooted their phone.
(My phone is rooted, will try out the application)
Click to expand...
Click to collapse
it does require a rom with Cifs too...
Look up Jinzora
It's a jukebox server you run on your computer. It's free, easy to set up and although you can access through a browser there's a client app in Market
dik23 said:
Look up Jinzora
It's a jukebox server you run on your computer. It's free, easy to set up and although you can access through a browser there's a client app in Market
Click to expand...
Click to collapse
Ideally I'd like something that supports photos - it looks as if Jinzora doesn't at the moment?

[Q] Windows RT and Synology NAS

Hi @all,
I have a Problem in Windows RT on my Surface RT tablet.
I allready use for Long time a NAS (Synology DS 207+) where I mapped Network drives on my Laptop to get Access to all my datas, Pictures, Music ...
On the RT I also mapped the Network drives and I also get Access on the files. No Problems for Excel, word and other files. But when I open Pictures (JPG) from my NAS the Picture app from RT opens but only Shows a black Screen with the file Name in top left Corner but Picture will not be showed.
When I first copy the file from the NAS on the Surface RT and then open it everything works OK.
Same with Music files.
Has anybody an idea what might be the Problem?
Thanks and best regards
I'll try this out later today and let you know. I have a DS212j. I'm running the latest version of DSM though, but I'll check it out.
Globalrebel said:
I'll try this out later today and let you know. I have a DS212j. I'm running the latest version of DSM though, but I'll check it out.
Click to expand...
Click to collapse
One more thing that I saw is:
If I try to open the Pictures/Music via the Network drives I mapped for this Folders on the DS it does not work.
But if I do the same via the DS Mediaserver that is also visible on the surface Explorer I can Access the Music and Picture Folder on the DS and can open everything.
But it would be better to use the mapped Network drives because this I could also include in the library of win8rt and including the mediaserver in the library seems not to work.
Thanks if anybody can help here.
topstyling said:
One more thing that I saw is:
If I try to open the Pictures/Music via the Network drives I mapped for this Folders on the DS it does not work.
But if I do the same via the DS Mediaserver that is also visible on the surface Explorer I can Access the Music and Picture Folder on the DS and can open everything.
But it would be better to use the mapped Network drives because this I could also include in the library of win8rt and including the mediaserver in the library seems not to work.
Thanks if anybody can help here.
Click to expand...
Click to collapse
Out of wonder, do the pictures open if you try to use the windows photo viewer (or whatever it's called), is this just an issue with the metro apps?
I know that on RT the metro apps rely on indexing to build their own libraries, but I'm not aware of it not opening or playing from a network location.
Also do you experience the same issue with video files?
As I updated to RT 8.1 it now works if I open the Pictures via the file Explorer on the Website. Also Music and Video now works. If I open them the Metro app starts and Shows the Picture and I also can browse to all the Pictures in this Folder.
So the only Problem I still have is to link the synology link to the RT library. This does not work.
Any idea for this?

[q] Network audio player?

Hello there, besides Neutron, is there any other player that supports playing folders from local network. I mean I've shared a few folders over the network with mp3 and flacs and I want to play them with an player from my Tab S. I've found only neutron who does the job. Other players they don't even have the function to play files from the local network. Any suggestions ? Thanks
Why not just use something like bubble upnp?
I will try it when I get home. Thank you!
ashyx said:
Why not just use something like bubble upnp?
Click to expand...
Click to collapse
Ok, so I've installed the app but it doesn't play my mp3/flac files from an shared folder trough my network. From what I see , I have to install an Bubble upnp server on my laptop then the Bubble upnp app would acces that server and play the files.
I'm not looking for that. I just want a player that can play files in shared folders on my network, no additional servers or stuff like that. Only Neutron can do that?!?! In Android OS , I'm kinda shocked, because when I had the IPAD I've had like 3-4 apps that can do that.
vibecatalin said:
Hello there, besides Neutron, is there any other player that supports playing folders from local network. I mean I've shared a few folders over the network with mp3 and flacs and I want to play them with an player from my Tab S. I've found only neutron who does the job. Other players they don't even have the function to play files from the local network. Any suggestions ? Thanks
Click to expand...
Click to collapse
Out of curiosity if you have Neutron why are you looking for something else? A while ago I ran onto this hassle and ended up buying Neutron because it can play from multiple sources (network shares, streamed URL and mSD storage) it also has superior audio compared to Power Amp. Neutron's UI needs a modern refresh but functionality is good. I have also purchased and set up Plex app including its server. It's app is beautiful but it's lack of Playlist ability and how it groups audio files makes it a video server choice rather than audio. I do not use Plex anymore as I ended up implementing my own solution.
In the end I wrote a python script that takes my m3u playlists from my desktop/server and converts them to urls listed in a rss file and make the music directory and modified m3u rss file accessible from my local lan's web server. I'll usually use Server Steam (playstore) to stream the m3u file launched through Simple RSS widget (playstore) which shows a scrollable list of m3u urls.
Sometimes to get exactly what you want you need to roll your own.
Sent from my SM-T800 using XDA Forums PRO
Is the Neutron UI that is holding me down and the fact that on a open source OS like Android I don't have at lest 3 applications to choose from, I think that is what is bothering me ). Thank you all for your answers!
Until I will find something new I will stick with Neutron.
Windows has its own upnp server built in. No need to install anything. Just open media player then add whatever you want to share to the library, be that a single file or a whole folder or drive.
It will then be available on the network for any upnp or dlna device or software.
Most file managers will let you play music files. ES File Explorer has its own media player built in.
flhthemi said:
Most file managers will let you play music files. ES File Explorer has its own media player built in.
Click to expand...
Click to collapse
Network player.
ashyx said:
Network player.
Click to expand...
Click to collapse
Maybe I'm ignorant of the term "Network Player". I know if I use ES go to Network then access my NAS's music folder I can play my MP3s. I have the option when I tap one to use any of the installed apps to play it. That's not a network player?
Also Dice Player has the option to setup network access and play media...
flhthemi said:
Maybe I'm ignorant of the term "Network Player". I know if I use ES go to Network then access my NAS's music folder I can play my MP3s. I have the option when I tap one to use any of the installed apps to play it. That's not a network player?
Also Dice Player has the option to setup network access and play media...
Click to expand...
Click to collapse
No you're correct, I stand corrected. Don't really use es explorer, so wasn't aware of it.
I use ArmAmp (for local & network). It has way better UI than Neutron, and more features / customizability than ES File Explorer's player.

Categories

Resources