Recent Posts

Pages: [1] 2 3 ... 10
1
MagicInfo-I Premium / Change time duration on API
« Last post by Chabrior37 on January 12, 2026, 12:55:02 PM »
Hello everyone,

I am trying to create an API to download new content into MagicInfo.

Overall, everything works fine. I can add content from a folder, edit playlists, and broadcast them on my screens. My only problem is the display time, which is set to 5 seconds by default. I can't see any options to change this default time. I tried to force it by inserting the entire configuration from my API, but it didn't work. Can anyone take a look and tell me how to modify my program, or if there is a configuration file I can modify to change this default time?

Thanks in advance and have a great day.

Code : with powershell

# ================= CONFIGURATION =================
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$baseUrl     = "http://IP:PORT/MagicInfo"  
$username    = "user"  
$password    = "password"  
$playlistId   = "playlistID"
$playTime     = 30
$productType  = "PREMIUM"

# ================= AUTHENTIFICATION =================
$loginBody = @{ username = $username; password = $password } | ConvertTo-Json
Write-Host "Authentification..." -ForegroundColor Yellow
$loginResponse = Invoke-RestMethod -Uri "$baseUrl/restapi/v2.0/auth" -Method POST -ContentType "application/json;charset=UTF-8" -Body $loginBody
$token = $loginResponse.token
# ================= PLAYLIST DETAILS =================
$playlistDetailsUrl = "$baseUrl/restapi/v2.0/cms/playlists/$playlistId/details?productType=$productType"
$responseFull = Invoke-RestMethod -Uri $playlistDetailsUrl -Method GET -Headers @{ "api_key" = $token }
$playlistData = $responseFull.items

# ================= MODIFICATION =================
Write-Host "Tentative de forçage des durées..." -ForegroundColor Yellow

$totalPlayTime = 0

foreach ($content in $playlistData.contents) {
    $content.contentDuration = 30
    $content.playTime = 30
    $content.hasDefaultPlayTime = $false
   

    if ($content.PSObject.Properties['isChanged']) { $content.isChanged = $true }
   
    if ($content.effects) {
        $content.effects.contentDuration = 30
    }
    $totalPlayTime += 30
}

$playlistData.playTime = $totalPlayTime
$playlistData.defaultContentDuration = 30

function Clean-MagicInfoObject($obj) {
    if ($obj -is [System.Collections.IDictionary] -or $obj -is [PSCustomObject]) {
        foreach ($prop in $obj.PSObject.Properties) {
            if ($prop.Value -eq "N") { $prop.Value = $false }
            elseif ($prop.Value -eq "Y") { $prop.Value = $true }
        }
    }
}
Clean-MagicInfoObject $playlistData

# ================= MISE À JOUR =================
$updateUrl = "$baseUrl/restapi/v2.0/cms/playlists/$playlistId"
$playlistData | ConvertTo-Json -Depth 10 | Write-Host
$updateBody = $playlistData | ConvertTo-Json -Depth 20
$utf8Body = [System.Text.Encoding]::UTF8.GetBytes($updateBody)

$updateResponse = Invoke-RestMethod -Uri $updateUrl `
    -Method PUT `
    -Headers @{ "api_key" = $token; "Accept" = "application/json" } `
    -ContentType "application/json;charset=UTF-8" `
    -Body $utf8Body

Write-Host "Réponse du serveur : $($updateResponse.status)" -ForegroundColor Green

# ================= VERIFICATION =================
Start-Sleep -Seconds 2

$check = Invoke-RestMethod -Uri $playlistDetailsUrl -Method GET -Headers @{ "api_key" = $token }
$check.items.contents | Select-Object contentName, contentDuration | Format-Table -AutoSize

2
MagicInfo-I Premium / Update from S4 to S6 on OH46F
« Last post by info@zahnarztpraxis-konst on December 22, 2025, 11:06:15 AM »
Hello I see that our device OH46F supports S6. Is this true? And where I can find the update from S4 to S6?
We would like to add some Visual effect on our Monitor. Thanks.
On the official website there are many Update versions but i could only install one the 1020 but not the 2460.1 (It could not find the supported device after Publishing)
Thanks
3
MagicInfo / Re: Web Author cannot be launched
« Last post by OxyCyber78 on November 05, 2025, 02:56:09 PM »
Hi Pepijn,

Thanks for your reply.
Unfortunately webauthor.web_url is already set with localhost.
So i've tried the opposite with IP address but no luck ...

Best Regards,
4
MagicInfo / Re: Web Author cannot be launched
« Last post by Pepijn on October 29, 2025, 12:38:34 PM »
Hi,

Please try to edit your config.properties file, then change the WebAuthor link to localhost instead of your IP address.

Kind regards Pepijn.
5
MagicInfo / Re: Web Author cannot be launched
« Last post by OxyCyber78 on October 07, 2025, 12:35:00 PM »
Same issue here. Did anyone found a solution ?
6
MagicInfo / Re: Web Author cannot be launched
« Last post by chayyim on August 18, 2025, 09:28:05 AM »
Yes, I encountered the same problem and still can't find a solution.
Hopefully someone can help solve this problem.
7
MagicInfo / PRTG Monitoring Powershell Script
« Last post by limpleg on August 05, 2025, 02:15:07 PM »
Hi Community
i wrote some powershell scripts for monitoring MagicInfo (Version 8 but i guess they work on Version 9 as well) on Paessler PRTG Monitoring Server.
The Powershell scripts connect to the API on MagicInfo.

You can find them here
https://github.com/limpleg/PRTG-SamsungMagicInfo-Powershells

What i note is, that when i monitor a lot of device through the API in a 10 minute interval, after 2 days the MagicInfo Server Web Service stopped working. Any advice on this?
Is there a Logout method of the API Key or something like that? In Swagger, i didn't find any information about that...
8
MagicInfo / Video Thumbnails Not Displaying
« Last post by BFL_Tom on May 26, 2025, 05:11:10 AM »
Hi everyone,

I'm experiencing an issue within our MagicInfo9 setup where the thumbnails for our video content are not displaying correctly. Instead of a preview image, I'm seeing either a blank space, a generic icon, or sometimes a broken image icon.

9
Hi everyone,

I'm encountering an error within the Device Health section of MagicInfo9 and was hoping someone might have some insight. The error message I'm seeing is:

Quote
SH90801 [Contents Download] Internal Server Error

Has anyone else experienced this before? Does anyone know what might be causing this "Internal Server Error" specifically in the context of content downloads?

Any help or suggestions would be greatly appreciated!

Thanks in advance.
10
Downloaded few videos from youtube and uploaded in magicinfo server to play, but video is playing without audio on the screen.

Player S6
MagicInfo_SPlayer_Tizen_4.0
Firmware Version   
T-KTM2ELAKUC-2450.0
T-KTM2ELAKUS-1054
T-NVT18SWWS-1012
Pages: [1] 2 3 ... 10