Jump to content

Tune In channel


Recommended Posts

Posted

Okay, I think I can handle this with some changes on the MBC end that won't require you to fill in the path.  Hopefully, without screwing up the rest of playback ;).

  • Like 1
Posted

Okay, I think I can handle this with some changes on the MBC end that won't require you to fill in the path.  Hopefully, without screwing up the rest of playback ;).

 

 

It  is now working for me in mbc as a new beta just came in a few minutes ago & I updated it now works.... fantastic

  • Like 1
Posted

Anyway for MBC to populate the artist, rather then stream/ unknown.  Even the Radio station would be nice.  not sure if this is a MBC or Tune-in issue so I'll ask here first :)

Posted

We are just feeding an url to the audio player in WMC.  I don't think there is any way for it to derive any meta information from it.  Especially since that information is transient (same stream is playing multiple things).

  • Like 1
Posted

Thanks snazy2000 and erb for taking the time to fix the links to stream in MBC! 

  • Like 1
Posted

We are just feeding an url to the audio player in WMC.  I don't think there is any way for it to derive any meta information from it.  Especially since that information is transient (same stream is playing multiple things).

  That's what I thought.  Any way that the name of the station could be faked into the stream then? or is that also more trouble then it worth as well.  

Posted (edited)

Has Tune in stopped working for anyone else in both the server & mbc?

 

server - Version 3.0.5393.38626 - beta

Browser - 3.0.219.0 - beta i think

 

seems sorted now with new stable release - Version 3.0.5395.0  :)

Nope gone again... seemed to work temporarily just

Edited by cmcv
Posted

I can't get the stations to play in either classic nor the server site.

  • 2 weeks later...
Posted

what ports are required for the TuneIn App to work?

 

 

Sent from my iPad using Tapatalk

Posted

what ports are required for the TuneIn App to work?

 

None that I'm aware of beyond our normal one.

  • Like 1
Posted

Hrmm can't seem to get it to work as every time I add the ports my firewall blocks going outbound it has a bunch of other ports

Posted

I have now tried the channel a view times, it installs fine, pull up my account favorites, but I can not get any channel to play either in the web client(Chome or IE) or in MBC..

I found this info in the log

C:\Users\???\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141005\ffmpeg.exe -fflags +genpts -i "http://2503.live.streamtheworld.com:443/khmxfmaac_sc?dist=tunein"  -vcodec msmpeg4 -force_key_frames expr:gte(t,n_forced*5) -mbd 2 -b:v 29872000 -vsync vfr -map_metadata -1 -threads 2 -acodec wmav2 -ac 2 -ab 128000 -af "aresample=async=1" -y "\\MyServer-Name\Media Files\Media support\MB3Cache\b6acaa28bbdca53429b34851811d8b3f.asf"ffmpeg version N-66618-ge079d43 Copyright (c) 2000-2014 the FFmpeg developers  built on Oct  4 2014 22:10:14 with gcc 4.9.1 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib  libavutil      54.  9.100 / 54.  9.100  libavcodec     56.  2.101 / 56.  2.101  libavformat    56.  7.104 / 56.  7.104  libavdevice    56.  1.100 / 56.  1.100  libavfilter     5.  1.102 /  5.  1.102  libswscale      3.  1.100 /  3.  1.100  libswresample   1.  1.100 /  1.  1.100  libpostproc    53.  1.100 / 53.  1.100[http @ 0000000004329ea0] HTTP error 404 File Not Foundhttp://2503.live.streamtheworld.com:443/khmxfmaac_sc?dist=tunein: Input/output error
Posted

In my experience either there is a problem with the plug-in and how it is forming its urls or there are a ton of dead links in this channel.  I found it next to impossible to find something that would play as well.

 

That error is simply a bad link (not found).

 

@@snazy2000?

Posted

ronvp,  Curious, can you play your favorites on the same machine using your browsers directly from TuneIn? 

snazy2000
Posted

There are lots of different types of urls returned and i dony know thrm.all untill they are reported not working. Can you yell me how to get to the one you showing above please

Posted

ronvp,  Curious, can you play your favorites on the same machine using your browsers directly from TuneIn? 

No problem to play it directly In the browser. I noticed something a little odd:

 

Here http://tunein.com/radio/93-Q-s33429/ is the link I am playing directly from the browser

Here http://provisioning.streamtheworld.com/pls/KKBQFM.pls?DIST=TuneIn&TGT=TuneIn&maxServers=2 is the link from the log file trying to play from the MB web client

 

I tried playing it from MBC and it just sit spinning..my machine become unresponsive and I have to close MCE

 

Here is the last bit from the main log file..

 

2014-10-23 10:10:21.7471 Info - ImageProcessor: Failed to read image header for C:\Users\XXXXX\AppData\Roaming\MediaBrowser-Server\data\metadata\channels\d4e9cf181223d92bf56e136c3797908f\83bd72e01ac36fc10e0bb077eaaf1314\folder.jpg. Doing it the slow way.

2014-10-23 10:10:21.7471 Error - DtoUtils: ServiceBase<TRequest>::Service Exception

Parameter is not valid.

System.ArgumentException

   at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)

   at MediaBrowser.Server.Implementations.Drawing.ImageHeader.GetDimensions(String path, ILogger logger, IFileSystem fileSystem)

   at MediaBrowser.Server.Implementations.Drawing.ImageProcessor.GetImageSizeInternal(String path)

   at MediaBrowser.Server.Implementations.Drawing.ImageProcessor.GetImageSize(String path, DateTime imageDateModified)

   at MediaBrowser.Server.Implementations.Drawing.ImageProcessor.<ProcessImage>d__6.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at MediaBrowser.Api.Images.ImageService.<GetImageResult>d__10.MoveNext()

 

2014-10-23 10:10:21.7471 Error - HttpServer: Error processing request for /mediabrowser/Items/83bd72e01ac36fc10e0bb077eaaf1314/Images/Primary?maxWidth=350&Quality=90&tag=483b45308eed300d7a55527284494925

Parameter is not valid.

ServiceStack.HttpError

No Stack Trace Available

 

2014-10-23 10:10:22.9262 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/package/retrieveall

2014-10-23 10:10:28.5193 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context

Value cannot be null.

Parameter name: id

System.ArgumentNullException

   at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemById(Guid id)

   at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)

   at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)

   at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)

   at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()

 

2014-10-23 10:10:33.2847 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context

Value cannot be null.

Parameter name: id

System.ArgumentNullException

   at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemById(Guid id)

   at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)

   at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)

   at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)

   at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()

 

Posted

It looks like maybe something changed with TuneIn and now the plug-in is not properly interpreting the urls. 

Posted (edited)

Here is another interesting bit when I open the PLS (generated by http://provisioning.streamtheworld.com/pls/KKBQFM.pls?DIST=TuneIn&TGT=TuneIn&maxServers=2) file I find in the file

 

[playlist]
File1=http://2733.live.streamtheworld.com:80/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
File2=http://2733.live.streamtheworld.com:3690/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
File3=http://2733.live.streamtheworld.com:443/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
File4=http://9343.live.streamtheworld.com:80/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
File5=http://9343.live.streamtheworld.com:3690/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
File6=http://9343.live.streamtheworld.com:443/KKBQFM_SC?TGT=TuneIn&DIST=TuneIn
Title1=KKBQFM_SC
Title2=KKBQFM_SC-Bak
Length1=-1
NumberOfEntries=6
Version=2

 

When pasting the links from file 1, 2, 4 and 5 directly in the browser it works, when pasting link 3 or 6, it does not work, port 443 having a issue??

 

Correction, just tried it again and all the links in the PLS file work

Edited by ronvp
Posted

Hmm...OK, I'm with ebr thinking the url streams have changed or their APIs. 

 

I'm assuming you are on the latest's versions. All working fine here after the latest MBC and snaxy2000 latest patch.

Posted

I am on the latest version (1.0.5391.16531), would me having my MB cache on a networked drive make any difference?

Posted

I just tried it with my MBS cache back on my C drive and it makes no difference.. below is the extract from the transcode log.

 

the mp3 file is actually created in the cache directory and when I click it from the file manager it all plays, just not from the webclient or MBC

 

C:\Users\XXXX\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141005\ffmpeg.exe -i "#EXTM3U" -threads 2 -vn -ab 128000 -ac 2 -id3v2_version 3 -write_id3v1 1 -y "\\XXXX\Media Files\Media support\MB3Cache\91378bcc748bc42bb753925b11b429c5.mp3"

ffmpeg version N-66618-ge079d43 Copyright © 2000-2014 the FFmpeg developers
  built on Oct  4 2014 22:10:14 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      54.  9.100 / 54.  9.100
  libavcodec     56.  2.101 / 56.  2.101
  libavformat    56.  7.104 / 56.  7.104
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
#EXTM3U: No such file or directory

 

Here is also an extract from the main log file, the individual liks all play fine if pasted directly in IE11:

 

2014-10-25 07:05:37.0185 Info - App: HttpClientManager GET: http://provisioning.streamtheworld.com/pls/KTHTFM.pls?DIST=TuneIn&TGT=TuneIn&maxServers=2
2014-10-25 07:05:37.2216 Debug - TuneInChannel: COUNT : 6
2014-10-25 07:05:37.2216 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2216 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2216 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2216 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2372 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2372 Debug - TuneInChannel: FILE : 6 - HTTP://2733.LIVE.STREAMTHEWORLD.COM:443/KTHTFM_SC?TGT=TUNEIN&DIST=TUNEIN
2014-10-25 07:05:37.2372 Debug - Dlna: No matching device profile found. The default will be used. User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko.
2014-10-25 07:05:44.7998 Info - HttpServer: Web socket connection closed by client. Reason: EndpointUnavailable
2014-10-25 07:05:44.7998 Debug - App: Disposing session controller WebSocketController

  • 5 months later...
Posted

I am noticing the tune in plugin is not listing all available stations for certain locations. For example, browsing by location North America->Mexico->Distrito Federal->Mexico City->All Stations would only yield 50 stations. However, when browsing this same location within tune in web site it lists 115 available stations. Alfa Radio is one station that may be reached through tune in's web site but not available though the plugin. Is there something I may do to fix this?

snazy2000
Posted

There api doesnt seem to return everything have never unerstanded why im afraid.

  • Like 1
  • 8 months later...
Posted

Hi

 

Does this TuneIn plugin still work? I just installed it on Emby Server (Windows) version 3.0.5800.0

The TuneIn plugin version is 1.0.5810.30121

 

I think I have entered my TuneIn username and LATLON details correctly. In the Emby web GUI in Chrome, I now see a new Channels area. If I select this I just see what's in this screen shot and nothing else appears. 

 

568128a82fd46_TuneIn.png

 

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...