06-26-2018 12:34 PM
562 ... 89101112 ...
tools
  1. wayne@angrygoat's Avatar
    Thanks for taking the time to answer, but please do not believe that I am trying to contradict your expertise - I am not :-)
    Let me rephrase my desire:

    Is it possible to connect to LMS using a simple URL and stream music that way?
    This Wiki seems to indicate that it is: wiki.slimdevices.com/index.php/Remote_streaming
    I've tried to paste a URL as explained into VLC, expecting the VLC to show up in Squeeze Ctrl as a player, but is doesn't work.

    (P.S. this forum denies me to enter a URL into my conversation, that's why I couldn't provide an example)
    The feature you mentioned has been around for a very long time and it still works, I just tried it in Firefox and VLC.

    Did you put in the right url? Also since you have a username and password on your server, you would need to include those in the url like this:

    http://<username>:<password>@<server address>:<server port>/stream.mp3

    There is a slight chance that putting the username and password in the url would run afoul of the browser or VLC's security measures.

    However, even when it does work, it is not a great solution. There's generally a large lag time between pressing a button (play, pause, skip, etc.) and hearing the effect. I think it's because vlc and browsers cache as much of the stream as they can, so any changes the server makes to the stream when pausing or track skipping will not be heard until the browser or vlc plays through it's cache. Also the browser can't send info back in the browser about the stream that it's playing, so you won't see an accurate progress bar and of course everything is transcoded to mp3. If you're using a version of LMS that cannot transcode, you can't play anything other than mp3 files.

    I remember that is used to work better, but that's probably because the old browsers were a lot less efficient at caching data and older computers didn't have as much memory to use as a cache.

    BTW, why do you have a username and password on your server? If it is so you can safely access the server remotely, it is not a secure method at all. LMS uses a basic authentication method, which means that the username and password are sent as plain text (or encoded in a very known well way). Remote access would be a lot safer if you use a home router with a built-in VPN server.
    04-25-2015 05:36 PM
  2. VikingOy's Avatar
    Hi, and thank you so much for taking the time to reply :-)
    For some mysterious reason, today it worked when I plugged the URL into VLC. And the lag caused by buffering is almost not noticable. If I plug the URL directly into my chrome browser, i get a black screen with som basic audio control buttons in the center:
    Squeeze Control for Android (support thread)-capture.jpg
    In either case (Browser or VLC), the Squeeze Ctrl identifies them both as "Mozilla from 192.168.07" which is the IP from the PC where I'm sitting.
    Controlling the VLC (or Chrome) using Squeeze Ctrl, sometimes work, sometimes not. I haven't been able to figure out a pattern yet.
    But at least, I am one step further :-)
    When I plug the URL into the ChromeCast (using Dashboard Cast), nothing happens. That could of course be because the audio feature in Dashboard cast is still in beta, and I do not expect you to provide support for someone else's App.

    But let me ask you this; Is there another way to plug a URL into a ChromeCast? (without doing programming - I'm not a programmer).

    Oh, and to the password issue with my NAS.... I have some friends and family that connect to my NAS remotely to play my songs. For minimum security, I chose to establish a username and password. I know this isn't very secure, but as my NAS contains nothing else but mp3 files, if someone truly wanted to break in and steal those, their welcome. :-)
    04-26-2015 02:17 AM
  3. wayne@angrygoat's Avatar
    Controlling the VLC (or Chrome) using Squeeze Ctrl, sometimes work, sometimes not. I haven't been able to figure out a pattern yet.
    But at least, I am one step further :-)
    This is the caching lag I'm talking about. Try starting a playback, and then pause it. If you wait long enough it will eventually pause. If you press play again, it will eventually play. This is because the controls aren't actually controlling VLC, they are just manipulating the stream being sent to the VLC. So when you press pause, the server just inserts silence into the stream, but you won't "hear" that silence until VLC has played through what it has already buffered.

    But let me ask you this; Is there another way to plug a URL into a ChromeCast? (without doing programming - I'm not a programmer).
    Have you tried casting a tab from the Chrome browser on your computer?
    04-26-2015 02:28 AM
  4. VikingOy's Avatar
    Hi,
    You're right about the buffering issue. It does take a long time for things to happen. But for the time being, I'm not too concerned about that.

    But I fail to understand how casting a tab from Chrome would solve my problem? Sure, I can do that - and it works fine. But as soon as I close Chrome, the stream stops. My goal is to establish a permanent stream between my LMS and the ChromeCast....
    04-26-2015 03:32 AM
  5. wayne@angrygoat's Avatar
    But I fail to understand how casting a tab from Chrome would solve my problem? Sure, I can do that - and it works fine. But as soon as I close Chrome, the stream stops. My goal is to establish a permanent stream between my LMS and the ChromeCast....
    Oh, I was just answer the question: But let me ask you this; Is there another way to plug a URL into a ChromeCast? (without doing programming - I'm not a programmer).
    04-26-2015 03:51 AM
  6. VikingOy's Avatar
    I see, but casting a tab to the CC establishes a connection with Chrome, and not with LMS, right?
    Is there a way to make the CC connect directly to LMS?
    04-26-2015 04:01 AM
  7. mookz's Avatar
    I had some additional thoughts on Chromecast. Would it be possible to make the album art be a faded colored background? Or maybe put the album art in the upper right hand corner or right below the track information?

    On the left side of the screen, just below the Squeeze Ctrl title, place the next 1 or 2 track titles? I think that the font size can be around half of everything else and it will still be fairly visible.
    04-26-2015 05:21 AM
  8. wayne@angrygoat's Avatar
    I see, but casting a tab to the CC establishes a connection with Chrome, and not with LMS, right?
    Is there a way to make the CC connect directly to LMS?
    When you cast a tab, the browser doesn't send the content of the tab, it just sends the URL the tab was viewing to the Chromecast. So the CC is connecting directly to LMS.
    04-27-2015 04:52 AM
  9. wayne@angrygoat's Avatar
    I had some additional thoughts on Chromecast. Would it be possible to make the album art be a faded colored background? Or maybe put the album art in the upper right hand corner or right below the track information?

    On the left side of the screen, just below the Squeeze Ctrl title, place the next 1 or 2 track titles? I think that the font size can be around half of everything else and it will still be fairly visible.
    The problem with changing design of the Chromecast display is that different people are going to want a different layout and there's no way to satisfy everyone. So instead I'm just going to keep it the way I like it, or at least until I think of a design I like better. Besides it's a relatively minor feature and I don't really want to spend that much time on it.
    04-27-2015 04:59 AM
  10. VikingOy's Avatar
    OK, I'll take your word for it :-)
    (But why is it that the connection between the CC and LMS is broken when the tab is closed on the PC?)
    Or, to be more precise; Is there a way to avoid that?
    Or, to be even more precise (I'm going in circles now, aren't I?); Is there a way to enter a URL into the browser inside the CC?

    (Let me know when you've had enough of this :-)
    04-27-2015 01:04 PM
  11. wayne@angrygoat's Avatar
    OK, I'll take your word for it :-)
    (But why is it that the connection between the CC and LMS is broken when the tab is closed on the PC?)
    Or, to be more precise; Is there a way to avoid that?
    Or, to be even more precise (I'm going in circles now, aren't I?); Is there a way to enter a URL into the browser inside the CC?

    (Let me know when you've had enough of this :-)
    I guess to should have explained it a bit better. When you cast a tab, the Chrome browser is telling the CC to run some sort of default app. It then sends that app the url to the site in the tab. The app then connects to the site and displays it. You can basically think of it as the core browser of the CC is running a browser app within itself.

    So even though CC is directly connected to the site of the URL, the CC is still technically running an app and apps require an active connection to continue running. When the tab is closed, that connection is broken and the app on the CC is closed.

    This is how the CC is designed to work, which makes sense since the CC is supposed to be a device shared by anything on the same network that supports it. Whenever there is no longer a connection to an app on the CC, it automatically closes it.

    I think that app that you mentioned Dashboard Cast doesn't really close when you hide it, it keeps a background service running to keep the connection open. I read the description of the app and it requires the permission to prevent the phone from sleep stating that "if the phone sleeps while connected to the Chromecast, the connection is interupted. Therefore the application needs to prevent the CPU from going to sleep in order to keep the connection open." I think this supports my theory that it has to keep a background service running to keep the CC app from closing.

    In other words, there is no way to keep an app running on the Chromecast without an application running on another device to keep an open connection with the CC.

    And no, I do not know of anyway to enter a URL directly into the browser of the Chromecast without the use of an application.
    04-27-2015 04:41 PM
  12. VikingOy's Avatar
    Thanks for your reply.
    Just for your information - Whatever it is that the Dashboard app loads into the CC, the CC continues to play and update all widgets even after I shut down the phone where the app is installed. This indicates to me that your assumption that an App running in background is needed to keep the CC running.
    I think the reason why the CC stops immediately with the Casting feature of the Chrome Browser when the browser is closed, is because it use RTC and not Javascript or URL.
    Would you agree?
    05-01-2015 05:38 AM
  13. wayne@angrygoat's Avatar
    Thanks for your reply.
    Just for your information - Whatever it is that the Dashboard app loads into the CC, the CC continues to play and update all widgets even after I shut down the phone where the app is installed. This indicates to me that your assumption that an App running in background is needed to keep the CC running.
    I think the reason why the CC stops immediately with the Casting feature of the Chrome Browser when the browser is closed, is because it use RTC and not Javascript or URL.
    Would you agree?
    I'm not sure what you mean by RTC, that's not a term I recognize in this context.

    I took a closer look at how the Squeeze Ctrl CC app handles device disconnection and it turns out that I'm wrong. The javascript app is responsible for closing itself when there is nothing connected to it. That part of the app is boilerplate code provided by Google, so I didn't really look at it as long as it worked.

    The CC stops immediately after the Chrome Browser closes because the CC app that displays links from the Chrome Browser is designed to close after the browser disconnects.
    05-01-2015 02:50 PM
  14. VikingOy's Avatar
    By RTC I just mean Real-Time-Communication. Meaning that there is a constant chit-chat between the browser and the CC - which you too essentially pointed out.
    But that brings me back to square one again - The Dashboard Cast App proves that the CC is truly self contained enough to be able to run a script (or code) after initial load - indefinitely, until interrupted.
    All I want to have, is an App that allows me to load such code into the CC using a friendly GUI.

    05-02-2015 03:43 AM
  15. bwaldron's Avatar
    I'm having a problem with 1.7.1: when browsing My Music > Artists, I get nothing --where I should see a list of albums for the artist. Other browsing of my library (e.g., the Albums menu) works as expected. Just sideloaded a saved copy of 1.7.0 and it works fine, so it is something that changed in the most recent app update.

    Sent from my SM-T900 using Tapatalk
    05-09-2015 08:38 PM
  16. wayne@angrygoat's Avatar
    I'm having a problem with 1.7.1: when browsing My Music > Artists, I get nothing --where I should see a list of albums for the artist. Other browsing of my library (e.g., the Albums menu) works as expected. Just sideloaded a saved copy of 1.7.0 and it works fine, so it is something that changed in the most recent app update.

    Sent from my SM-T900 using Tapatalk
    I'm not experiencing this problem and I tested on both a Galaxy Nexus (Android 4.4) and a Nexus 5 (Android 5.1) while connecting to server running 7.7.5 and a server running 7.8.1. Try reinstalling the new version. Any list that shows albums goes through the same code, so there really is not reason why one list of albums will show while another doesn't.
    05-09-2015 09:54 PM
  17. bwaldron's Avatar
    I'm running 7.9, as I have been for months (I know you don't support it). I have reinstalled 1.7.1 and the problem persists. I am seeing it on both my Samsung S6 phone running Lollipop and a Galaxy Tab Pro 12.2 tablet on KitKat. Sideloading 1.7.0 fixes the problem on both.

    Sent from my SM-T900 using Tapatalk
    05-09-2015 10:06 PM
  18. wayne@angrygoat's Avatar
    I'm running 7.9, as I have been for months (I know you don't support it). I have reinstalled 1.7.1 and the problem persists. I am seeing it on both my Samsung S6 phone running Lollipop and a Galaxy Tab Pro 12.2 tablet on KitKat. Sideloading 1.7.0 fixes the problem on both.

    Sent from my SM-T900 using Tapatalk
    Just tried it on a server running 7.9 and in works fine. Both Album Artists and All Artists work, though when I changed the browse mode on the server to just show 'Artist', the Artist item didn't even show up in Squeeze Ctrl.

    I'm testing with build 1428327734 of 7.9.

    Update:
    Ok, I looked at what the server was sending Squeeze Ctrl and it looks like it doesn't even send the 'Artist' item. I think it's a bug in the server.
    05-09-2015 10:19 PM
  19. bwaldron's Avatar
    Strange. That is the build of 7.9 I am using. It is obvious that something in my LMS configuration is interacting with some change between 1.7.0 and 1.7.1. I have always used Single Configurable List of Artists and haven't changed the advanced browse modes. I'll investigate further.

    I do notice that it is definitely just a display issue -- even though I can't see an albums list when I browse to an Artist, if I use the drop-down menu I can add to the current Playlist and all the artist's albums/tracks show up there.


    Sent from my SM-T900 using Tapatalk
    05-09-2015 10:34 PM
  20. wayne@angrygoat's Avatar
    I didn't even know there was a Single Configurable List of Artists option. I just tried it and it still works.
    05-09-2015 10:40 PM
  21. bwaldron's Avatar
    I noticed something else: if I browse to an artist and select "Save to Favorites", after confirming the action the list of albums for the artist suddenly appears. The same thing happens if I select "Artist Information" (I have Michael Herger's Music & Artist Information plugin installed). This doesn't stick, though -- if I back out and then select the same artist, I get no album list.

    Is it possibly related to library size? I have 2563 albums with 36472 songs by 675 (album) artists -- not huge, but not small.
    05-09-2015 10:51 PM
  22. wayne@angrygoat's Avatar
    I noticed something else: if I browse to an artist and select "Save to Favorites", after confirming the action the list of albums for the artist suddenly appears. The same thing happens if I select "Artist Information" (I have Michael Herger's Music & Artist Information plugin installed). This doesn't stick, though -- if I back out and then select the same artist, I get no album list.

    Is it possibly related to library size? I have 2563 albums with 36472 songs by 675 (album) artists -- not huge, but not small.
    It's shouldn't be size since it works when you browse the full list of albums.

    When you browse the artist, if you tap the "A-Z" button, does anything show up in the jump list?
    05-09-2015 11:02 PM
  23. bwaldron's Avatar
    It's shouldn't be size since it works when you browse the full list of albums.
    Yeah...just grasping at straws there.

    When you browse the artist, if you tap the "A-Z" button, does anything show up in the jump list?
    Nope. Only thing that happens when clicking the button is that the "gutter" to the left (where the alphabet would be if there was a list of albums) appears/disappears.
    05-09-2015 11:08 PM
  24. wayne@angrygoat's Avatar
    Nope. Only thing that happens when clicking the button is that the "gutter" to the left (where the alphabet would be if there was a list of albums) appears/disappears.
    Ok, I was hoping that maybe it's just some sort of redrawing problem, but it looks the server is returning an empty list. The server probably doesn't like something in the command the app is sending.

    Is your album sort method set to Artist,Year,Album? When I tried changing to that, the server returned an empty list. The other two methods worked fine.
    05-09-2015 11:23 PM
  25. bwaldron's Avatar
    Is your album sort method set to Artist,Year,Album? When I tried changing to that, the server returned an empty list. The other two methods worked fine.
    Bingo. I have always had my sort set that way. Changed it to Album and the albums list appears.
    05-09-2015 11:38 PM
562 ... 89101112 ...

Similar Threads

  1. CardDAV and CalDAV support for Android
    By flyawaymike in forum General Help and How To
    Replies: 1
    Last Post: 08-30-2012, 04:50 AM
  2. Are there universal music controls for Android?
    By Pdelponte in forum Samsung Galaxy S3
    Replies: 2
    Last Post: 08-17-2012, 06:29 PM
  3. Active X controls for android
    By spettiner in forum AT&T Galaxy S II
    Replies: 0
    Last Post: 11-18-2011, 11:29 PM
  4. Support The Movement! Order and Chaos for Android
    By Varking in forum Android Games
    Replies: 3
    Last Post: 03-23-2011, 08:09 AM
  5. Arabic Support For Android
    By walidbourjal22 in forum General Help and How To
    Replies: 0
    Last Post: 02-01-2011, 04:07 PM
LINK TO POST COPIED TO CLIPBOARD