RadioTime plugin 1.2.5 for MP 1.8 Final (01-07-2014) (1 Viewer)

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    46
    Home Country
    Israel Israel
    Version compatibility:
    • MediaPortal 1.8 Final
    Project page is here
    Source files available : https://github.com/yoavain/mediaportal-tunein
    I'm attaching initial version, until I have some feedback, since I haven't had a chance to test it.

    Skins support:
    DefaultWide & Wide are part of the installer.
    Any other skin will be maintained by the skin developer.
    List of skins (that I know of) with files for this plugin:
    Change log:

    1.2.5.82:
    • Compatibility to 1.8 Final
    Older changes:
    1.2.1.78:
    • Compatibility to 1.8 Pre-Release
    1.2.0.75:
    • Compatibility to 1.7 Final / 1.7.1 HotFix
    1.2.0.69:
    • Compatibility to 1.7 Final
    1.1.0.67:
    • Compatibility to 1.7 Pre Release
    1.0.1.62:
    • Fixed error on plugin init: "Plugin Manager: Plugin RadioTimePlugin.RadioTimePluginGUI is incompatible with the current MediaPortal version! (File: RadioTimePlugin.dll)"
    1.0.0.44:
    • Fixed installation issue on clean MediaPortal (with no previous RadioTime version installed)
    1.0.0.31:
    • Security fix
    • Some GUI changes in configuration:
      • removed donation button.
      • mask password
      • Changed logo
      • Links to TuneIn instead of RadioTime
    • Skin files:
      • DefaultWide & Default from @catavolt(y)
      • Removed Titan (will be maintained by Titan Team via Titan Extended)
    • Translations update:
      • German translation from @catavolt(y)
      • Turkish translation from @omerfarukozer(y)
    • Started re-branding plugin to 'TuneIn' since site changed ages ago. (Work in progress)

    Download: See attachment or use MPEI
     

    Attachments

    • RadioTime-1.2.5.82.MPE1
      700.3 KB
    Last edited by a moderator:

    astrapowerrr

    Portal Pro
    May 21, 2008
    180
    13
    47
    ijsselstein
    Home Country
    Netherlands Netherlands
    Hi there.
    I'm using radiotime for a while now and I like the conversion to tunein radio.
    Only I have a problem which I hoped would be solved with an update but after several updates it's still there and unsolved.

    I will try to explane.
    I listen to a radio station for about 2 hours or 30 min. No problems. But when I hit my stop button the music isn't stopping. Only way is to restart mp...

    Am I doing something wrong? Or is this a known problem?
     

    yoavain

    Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    46
    Home Country
    Israel Israel
    • Thread starter
    • Moderator
    • #3
    Hi there.
    I'm using radiotime for a while now and I like the conversion to tunein radio.
    Only I have a problem which I hoped would be solved with an update but after several updates it's still there and unsolved.

    I will try to explane.
    I listen to a radio station for about 2 hours or 30 min. No problems. But when I hit my stop button the music isn't stopping. Only way is to restart mp...

    Am I doing something wrong? Or is this a known problem?

    Hi, I'm currently away, without a computer and wi-fi. If you could post some logs maybe someone else in this thread can take a look. Anyway, I will try to have a look when I'm back.
    Also, to eliminate skin related issue, let us know what skin you're using, and maybe try a different one (default / streamedmp)

    Regards,
    Yoav
     

    astrapowerrr

    Portal Pro
    May 21, 2008
    180
    13
    47
    ijsselstein
    Home Country
    Netherlands Netherlands
    Found another error... If I use pause and then unpause. Mp crashes and I'm back to my desktop!
    Also the nut functioning of the stop button occurs with every station I play and also after 5 sec...
    Just can't stop playing[emoji57]
     

    750913372

    Portal Pro
    June 25, 2009
    52
    15
    Bruxelles
    Home Country
    Belgium Belgium
    Hello,

    I've got a small dipslay issue with radio playing on MP homescreen.

    The 1st time after a MP restart I play a radio station, station's name is correctly displayed in player on MP homescreen (see screenshot 1)

    But if I play then music (or an other station) and reopen the same radio station, station's name is no more displayed in player on MP homescreen (see screenshot 2).

    Screenshots are from streamedMP skin but I've got the same behaviour with default skin.

    Does anybody else experience the same behaviour ?

    Thank you.
     

    Attachments

    • 1 - radiotime OK.jpg
      1 - radiotime OK.jpg
      103.8 KB
    • 2 - radiotime KO.jpg
      2 - radiotime KO.jpg
      89 KB

    Airw0lf

    Portal Pro
    April 19, 2008
    77
    3
    Home Country
    New Zealand New Zealand
    Hi there.
    I'm using radiotime for a while now and I like the conversion to tunein radio.
    Only I have a problem which I hoped would be solved with an update but after several updates it's still there and unsolved.

    I will try to explane.
    I listen to a radio station for about 2 hours or 30 min. No problems. But when I hit my stop button the music isn't stopping. Only way is to restart mp...

    Am I doing something wrong? Or is this a known problem?

    Hi, I'm currently away, without a computer and wi-fi. If you could post some logs maybe someone else in this thread can take a look. Anyway, I will try to have a look when I'm back.
    Also, to eliminate skin related issue, let us know what skin you're using, and maybe try a different one (default / streamedmp)

    Regards,
    Yoav

    I think I figured out the issue. I started having this problem after making a fresh MediaPortal installation on a new PC. I looked in the log files and this is what NORMAL behaviour looks like:

    Code:
    [2014-12-23 18:26:44,182] [Log    ] [MPMain   ] [INFO ] - g_Player.PlayAudioStream(http://radionetworknz-ice.streamguys.com/zmradio)
    [2014-12-23 18:26:44,189] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:26:44,196] [Log    ] [MPMain   ] [INFO ] - BASS: Creating BASS audio stream
    [2014-12-23 18:26:45,596] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: HTTP/1.0 200 OK
    [2014-12-23 18:26:45,603] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Server: Icecast 2.4.0
    [2014-12-23 18:26:45,610] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Date: Tue, 23 Dec 2014 05:26:42 GMT
    [2014-12-23 18:26:45,616] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Content-Type: audio/aacp
    [2014-12-23 18:26:45,623] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Cache-Control: no-cache
    [2014-12-23 18:26:45,627] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Expires: Mon, 26 Jul 1997 05:00:00 GMT
    [2014-12-23 18:26:45,631] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Pragma: no-cache
    [2014-12-23 18:26:45,635] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-br:32
    [2014-12-23 18:26:45,639] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: ice-audio-info: ice-bitrate=32;ice-samplerate=44100;ice-channels=2
    [2014-12-23 18:26:45,644] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-br:32
    [2014-12-23 18:26:45,648] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-description:www.ZMOnline.com
    [2014-12-23 18:26:45,652] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-genre:Pop
    [2014-12-23 18:26:45,655] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-name:ZMonline AAC+
    [2014-12-23 18:26:45,657] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-pub:0
    [2014-12-23 18:26:45,659] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-url:http://www.zmonline.com
    [2014-12-23 18:26:45,661] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-metaint:16000
    [2014-12-23 18:26:45,663] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Connection: close
    [2014-12-23 18:26:45,665] [Log    ] [MPMain   ] [INFO ] - BASS: Internet Stream. New Song:  - zmradio
    [2014-12-23 18:26:45,668] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Information
    [2014-12-23 18:26:45,670] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:26:45,672] [Log    ] [MPMain   ] [INFO ] - BASS: File: http://radionetworknz-ice.streamguys.com/zmradio
    [2014-12-23 18:26:45,674] [Log    ] [MPMain   ] [INFO ] - BASS: Number of Channels: 2
    [2014-12-23 18:26:45,677] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Samplerate: 44100
    [2014-12-23 18:26:45,679] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:26:45,681] [Log    ] [MPMain   ] [INFO ] - BASS: Successfully created BASS audio stream
    [2014-12-23 18:26:45,683] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:26:45,686] [Log    ] [MPMain   ] [INFO ] - BASS: playback started
    [2014-12-23 18:26:45,689] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStarted() http://radionetworknz-ice.streamguys.com/zmradio media:Radio
    [2014-12-23 18:26:45,971] [Log    ] [BASS MetaSync] [INFO ] - BASS: Internet Stream. New Song: SAM SMITH - I'M NOT THE ONLY ONE';
    [2014-12-23 18:27:10,111] [Log    ] [MPMain   ] [INFO ] - Main: Stopping media
    [2014-12-23 18:27:10,120] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStopped()

    But when things go wrong and stopping freezes MP. It looks like the problem correlates with not having a working TV Server (My TV Server box was switched off.) If I turn off the TV plugin and restart MP then no problem...

    Code:
    [2014-12-23 18:13:23,981] [Log    ] [MPMain   ] [INFO ] - g_Player.PlayAudioStream(http://radionetworknz-ice.streamguys.com/zmradio)
    [2014-12-23 18:13:23,997] [Log    ] [MPMain   ] [INFO ] - BASS: Initializing BASS audio engine...
    [2014-12-23 18:13:24,013] [Log    ] [MPMain   ] [INFO ] - BASS: Using default Sound Device
    [2014-12-23 18:13:25,513] [Log    ] [MPMain   ] [INFO ] - BASS: Device Information
    [2014-12-23 18:13:25,520] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:25,527] [Log    ] [MPMain   ] [INFO ] - BASS: Name: Speakers=2, MinRate=100, MaxRate=200000, DX=9, EAX=False
    [2014-12-23 18:13:25,534] [Log    ] [MPMain   ] [INFO ] - BASS: Directsound version: 9
    [2014-12-23 18:13:25,541] [Log    ] [MPMain   ] [INFO ] - BASS: # Output Channels: 2
    [2014-12-23 18:13:25,548] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:25,554] [Log    ] [MPMain   ] [INFO ] - BASS: Initialization done.
    [2014-12-23 18:13:25,579] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:25,583] [Log    ] [MPMain   ] [INFO ] - BASS: Creating BASS audio stream
    [2014-12-23 18:13:27,046] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: HTTP/1.0 200 OK
    [2014-12-23 18:13:27,053] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Server: Icecast 2.4.0
    [2014-12-23 18:13:27,059] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Date: Tue, 23 Dec 2014 05:13:23 GMT
    [2014-12-23 18:13:27,066] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Content-Type: audio/aacp
    [2014-12-23 18:13:27,072] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Cache-Control: no-cache
    [2014-12-23 18:13:27,079] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Expires: Mon, 26 Jul 1997 05:00:00 GMT
    [2014-12-23 18:13:27,085] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Pragma: no-cache
    [2014-12-23 18:13:27,092] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-br:32
    [2014-12-23 18:13:27,096] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: ice-audio-info: ice-bitrate=32;ice-samplerate=44100;ice-channels=2
    [2014-12-23 18:13:27,099] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-br:32
    [2014-12-23 18:13:27,102] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-description:www.ZMOnline.com
    [2014-12-23 18:13:27,106] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-genre:Pop
    [2014-12-23 18:13:27,109] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-name:ZMonline AAC+
    [2014-12-23 18:13:27,112] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-pub:0
    [2014-12-23 18:13:27,115] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-url:http://www.zmonline.com
    [2014-12-23 18:13:27,118] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: icy-metaint:16000
    [2014-12-23 18:13:27,122] [Log    ] [MPMain   ] [INFO ] - BASS: Connection Information: Connection: close
    [2014-12-23 18:13:27,137] [Log    ] [MPMain   ] [INFO ] - BASS: Internet Stream. New Song:  - zmradio
    [2014-12-23 18:13:27,140] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Information
    [2014-12-23 18:13:27,142] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:27,144] [Log    ] [MPMain   ] [INFO ] - BASS: File: http://radionetworknz-ice.streamguys.com/zmradio
    [2014-12-23 18:13:27,147] [Log    ] [MPMain   ] [INFO ] - BASS: Number of Channels: 2
    [2014-12-23 18:13:27,149] [Log    ] [MPMain   ] [INFO ] - BASS: Stream Samplerate: 44100
    [2014-12-23 18:13:27,151] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:27,156] [Log    ] [MPMain   ] [INFO ] - BASS: Successfully created BASS audio stream
    [2014-12-23 18:13:27,159] [Log    ] [MPMain   ] [INFO ] - BASS: ---------------------------------------------
    [2014-12-23 18:13:27,200] [Log    ] [MPMain   ] [INFO ] - BASS: playback started
    [2014-12-23 18:13:27,205] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStarted() http://radionetworknz-ice.streamguys.com/zmradio media:Radio
    [2014-12-23 18:13:27,211] [Log    ] [MPMain   ] [INFO ] - Audio stream: switching to preferred AC3/MPEG audio stream 0 (only 1 track avail.)
    [2014-12-23 18:13:27,404] [Log    ] [BASS MetaSync] [INFO ] - BASS: Internet Stream. New Song: ONE DIRECTION - STEAL MY GIRL';
    [2014-12-23 18:13:28,225] [Log    ] [MPMain   ] [ERROR] - TvServer: Failed to execute remote TV server operation (CardByIndex) Object reference not set to an instance of an object.
    [2014-12-23 18:13:30,957] [Log    ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Disconnected
    [2014-12-23 18:13:36,977] [Log    ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Disconnected
    [2014-12-23 18:13:42,995] [Log    ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Disconnected
    [2014-12-23 18:13:49,017] [Log    ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Disconnected
    [2014-12-23 18:13:50,669] [Log    ] [MPMain   ] [INFO ] - Main: Stopping media
    [2014-12-23 18:13:50,677] [Log    ] [MPMain   ] [INFO ] - g_Player.OnStopped()
    [2014-12-23 18:13:50,686] [Log    ] [MPMain   ] [INFO ] - RadioRecorded:OnPlayRecordingBackStopped Radio http://radionetworknz-ice.streamguys.com/zmradio
    [2014-12-23 18:13:55,036] [Log    ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Disconnected
    [2014-12-23 18:14:20,948] [Log    ] [MPMain   ] [ERROR] - Exception: Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=XXX\SQLEXPRESS;Connection Timeout=30; ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
       --- End of inner exception stack trace ---
     

    astrapowerrr

    Portal Pro
    May 21, 2008
    180
    13
    47
    ijsselstein
    Home Country
    Netherlands Netherlands
    Don't understand all these logs but I can confirm the problem!!
    I have a setup with a dedicated server and a tv client. So my server sleeps when using the radio plugin.
     

    Users who are viewing this thread

    Top Bottom