Stream music from computer to phone whilst still playing on computer - iphone

I have searched the internet for awhile for a solution to this, and cant seem to find anything on my own. Alright.
Is there any software that will allow me to stream music to my phone from VLC. I specifically would like my phone to be plugged into my main stereo system in the other room, while having my computer stereo running as well. There seems to be plenty of solutions for streaming the data to your phone, but browsing all seems to be done on the phone itself. I have an iPhone 5.
Sorry if this issue isn't clear. Ill elaborate if necessary. Thank you!

VLC has a streaming feature for files, just go to Media -> Stream -> Add (add your files) -> Click Stream in the bottom right corner -> Click Next -> Select destination as HTTP -> Click Add -> Select an unused port -> enter a path if you want -> Next -> Uncheck Activate transcoding -> Next -> Stream. Now on your iPhone download VLC for iOS and open up a media stream like this http:// + your ip + : + port + path e.g. http://192.168.1.100:8808/music.
You're done.

Related

WatchOS - How to avoid device sleeping during downloads

I'm using URLSession to download a .zip file when the first view appears, and it works fine.
The problem is that if the user's device sleeps after a duration (I believe 15/75 seconds are the options in settings) or by tilting their wrist etc - the download fails and the user has to retry when they open the app back up.
Other than warning the user to interact with the device during download, or changing their settings (neither ideal), is there anything I can do? It's not a huge file, around 10mb but poor networks could take a while.

How to receive a text stream in flutter

I have a barcode scanner which automatically outputs the barcode into whichever app you have open in the USB attached windows PC, if it can handle it. For example if I have chrome open, I click the address bar and then scan it outputs to there. Similarly if I click on a website textarea and then scan it'll dump it in there.
I have a simple flutter application which I simply want to detect the scan receival. I don't care how, but I don't even know what exactly to search for to get my answer. My aim is to have a windows app in flutter, which when I scan a barcode it receives this, displays the product details in the flutter screen (aka needs an API call straight after getting the scan). Any help on even what topic to search for will help, cheers.
Barcode scanner: Symcode MJ-340 Automatic Desktop USB Wired Barcode Scanner.
After a lot of trial and error I worked out that a common way to interact for barcodes through USB to apps is via the USB HID aka keyboard presses. By wrapping the app around a RawkeyboardListener with autofocus true, you can filter via RawKeyUpEvent (or down) and then simply set the state.
In my case, it always ended with an enter key to detect the end of a code.

How to support OTA video in custom web app (for LG TV)?

I've searched considerably for this answer (including all WebOS, Enyo, LG specific documentation, and countless Google searches), but have turned up nothing.
In short, the goal is to develop a WebOS application that can resize an existing video stream (coming from coax or HDMI), unfortunately ...
Update: This is a web-based app that resides on a server.
After specifying the IP address (via hidden config menu), the TV saves and exits, without any channel scanning, or additional setup. Upon reboot, it displays the index.html page at the specified IP address.
So, unless there's a way to explicitly configure OTA sources within the web application, I'm assuming that any OTA video will have to be provided via streaming.
WebOS offers a way to specify media sources from files -- so, is there any way to point to a video file that's perpetually streaming an OTA source?
Is Plex, or Sling capable of this?
Any direction that can be offered is greatly appreciated.
original answer: I'm not sure this is going to be possible. I believe only system apps are going to have access to the video pipeline.
new answer:
If you can configure your OTA stream to go over HLS, then you can use an m3u8 playlist for your <source> and it should "just work" on a webOS TV.
It's been a while since I posted this, and I've learned a great deal about this topic since then. So, for anyone who may run across this, with the same question -- here's the answer ...
When it comes to LG Smart-TVs their are two configuration options specific to commercial TVs (Lodging and Hospital models) ...
"Pro:Centric Wizard" and "EZ-Manager"
The Pro:Centric Wizard is intended for hospitals and won't automatically import TV configurations from a server, but it can scan for channels.
The EZ-Manager option is intended for lodging/hotels and provides a great deal more control, but the TV configuration and channel listing must all be obtained from a server (or usb drive).
Modification of the TV settings and channel listing is performed by using the FTG File Manager.
Downloadable Stand-alone Application:
http://www.lg.com/us/business/display-solutions/ftg
Online Version:
http://cct.procentric.tv/ftg_manager
Channels must be either manually programmed within the FTG File Manager, or imported from a TV clone file (created after the TV has performed a channel scan).
In order to create a clone file of scanned channels ...
Initiate the "Pro:Centric Wizard" setup process
Scan the channels
Complete Setup
Once the TV restarts, hit "Menu"
Highlight the "General" or "Settings" icon (should be "Settings") and hit "7" seven times (or until clone menu appears).
The option to export to USB will only appear after pressing "9876" on the remote.
Once the file is exported to USB, it can then be opened within the FTG File Manager and edited for server delivery through the "EZ-Manager" setup.
Hopefully this will help someone. :)

Control music playlist from website with Raspberry Pi push buttons

I'm programming a website where you can choose mp3's to play from a playlist. The webiste must be accessed from a Raspberry Pi. The Raspberry has 3 buttons(next, previous, pause). Can I control the playlist with the buttons? So when I press next, the next song on the website will start.
Thanks!
You probably could make a file containing a variable. every few seconds the website loads that file via java script and checks the value. When you press a key on the RPi, you could change that value, the website will read it (and reset it) and change the song. I would generate this file via PHP, as this can be run on the server and on command line.
you can attach a listener on the keypress of a keyboard touch and make a I/O for the raspberry, could it be okay for you?

Upload files from http to iphone

I want to be able in my app to upload files from my computer(windows,mac...) to the iPhone,so i an looking for a source code in objective-c that open server on iPhone,
but my question is, how i implement an upload from my computer to the device?
Edit
I want to upload the file from a computer that is on the same Network like the device,
something like :
the user will open browser and select a file and it will be upload to the device.
i found CocoaHTTPServer but i really didn't understand how to upload a file to the iPhone with this.
you probably want to upload the file to FTP-server, that shouldn't be a problem.
set up a webservice or json on your server to know what changed, or should be downloaded (depends heavily on your business logic of your app) - it could also be a static textfile
now the problem is how the app knows that there is are new files.
option 1: poll server if user presses a button or on every app start, etc.
option 2: send push notification to your iPhone app, if there are new file.
polling the server would be very easy to implement, compared to sending push notification.
EDIT:
alright i read your edited post. hosting a local webserver on an iphone sounds still weird to me.
another possible solution, that could work for you - if you only want to transfer only a few and rather small files:
enable Document Interaction in your app.
this would allow the user to send the file by mail to your iphone and open the document with your app with the "open in..." dialog .