[vlc-commits] [Git][videolan/vlc][master] lua, qt: remove deprecated appletrailers

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Apr 27 06:21:36 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a2f93f4b by Anshul Ekka at 2026-04-27T05:54:31+00:00
lua, qt: remove deprecated appletrailers

- - - - -


4 changed files:

- modules/gui/qt/Makefile.am
- modules/gui/qt/assets.qrc
- − modules/gui/qt/pixmaps/sd/appletrailers.svg
- − share/lua/sd/appletrailers.lua


Changes:

=====================================
modules/gui/qt/Makefile.am
=====================================
@@ -955,7 +955,6 @@ libqt_plugin_la_RES = \
 	pixmaps/prefs/spref_medialibrary.png \
 	pixmaps/prefs/spref_subtitles.png \
 	pixmaps/prefs/spref_video.png \
-	pixmaps/sd/appletrailers.svg \
 	pixmaps/sd/assembleenationale.svg \
 	pixmaps/sd/capture-card.svg \
 	pixmaps/sd/directory.svg \


=====================================
modules/gui/qt/assets.qrc
=====================================
@@ -1,4 +1,3 @@
-<?xml version="1.0"?>
 <RCC>
     <qresource prefix="/logo">
         <file alias="vlc256.png">../../../share/icons/256x256/vlc.png</file>
@@ -77,7 +76,6 @@
         <file alias="node.svg">pixmaps/sd/node.svg</file>
         <file alias="playlist.svg">pixmaps/sd/playlist.svg</file>
         <file alias="icecast.svg">pixmaps/sd/icecast.svg</file>
-        <file alias="appletrailers.svg">pixmaps/sd/appletrailers.svg</file>
         <file alias="assembleenationale.svg">pixmaps/sd/assembleenationale.svg</file>
         <file alias="fmc.svg">pixmaps/sd/fmc.svg</file>
         <file alias="podcast.svg">pixmaps/sd/podcast.svg</file>


=====================================
modules/gui/qt/pixmaps/sd/appletrailers.svg deleted
=====================================
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg viewBox="0 0 114 114" transform="translate(33,33)" xmlns="http://www.w3.org/2000/svg">
- <path transform="translate(-96.46 -120.56)" d="M116.707 155.527c-.705-.135-1.47-.697-2.293-1.683a13.593 13.593 0 0 1-2.512-4.488c-.48-1.446-.606-2.127-.657-3.57-.038-1.086-.019-1.419.13-2.135.504-2.43 2.238-4.268 4.474-4.738.974-.205 1.632-.124 3.168.388.72.24 1.444.437 1.607.437.162 0 .864-.192 1.558-.427 1.557-.525 2.284-.64 3.228-.512 1.364.186 2.333.641 3.201 1.505.295.293.535.566.534.606 0 .04-.197.204-.436.366a4.726 4.726 0 0 0-1.84 2.591c-.066.254-.122.81-.123 1.236-.002 1.44.386 2.4 1.37 3.395.355.36.869.779 1.141.932.571.322.568.23.05 1.426-.563 1.301-1.93 3.25-2.75 3.922-.21.172-.605.415-.878.54-.713.326-1.447.268-2.88-.23-.978-.34-1.144-.372-1.888-.37-.737.003-.925.04-1.973.394-1.224.414-1.74.51-2.23.415zm3.798-17.44c.149-1.976 1.522-3.661 3.549-4.359.268-.092.617-.167.774-.167.287 0 .287 0 .287.424 0 1.123-.489 2.258-1.385 3.218-.922.986-1.902 1.505-2.844 1.505h-.428l.046-.622z" fill="#FF8800"/>
- <path transform="translate(-96.46 -120.56)" d="M100.46 130.56v28h40v-28zm3 1h3v3h-3zm31 0h3v3h-3zm-9.631 2c.286 0 .287 0 .287.425 0 1.122-.49 2.258-1.387 3.218-.921.987-1.9 1.506-2.844 1.506h-.427l.047-.623c.149-1.975 1.521-3.66 3.548-4.357.268-.093.618-.168.776-.168zm-21.37 3.75h3v3h-3zm31 0h3v3h-3zm-9.732 1.44c.225 0 .448.015.684.049 1.364.186 2.332.642 3.2 1.506.296.293.535.565.534.605 0 .04-.197.204-.435.365a4.728 4.728 0 0 0-1.84 2.592c-.068.253-.123.81-.124 1.237-.002 1.438.386 2.4 1.37 3.394.355.36.87.778 1.142.932.571.32.567.23.049 1.425-.564 1.302-1.93 3.25-2.75 3.922-.21.172-.606.416-.879.541-.713.327-1.446.268-2.879-.23-.978-.34-1.145-.372-1.888-.37-.738.003-.926.04-1.973.393-1.225.414-1.74.51-2.23.416-.706-.136-1.472-.697-2.296-1.683a13.596 13.596 0 0 1-2.511-4.489c-.48-1.446-.605-2.125-.657-3.568-.038-1.086-.018-1.42.131-2.137.504-2.43 2.239-4.268 4.475-4.738.973-.205 1.631-.124 3.168.389.72.24 1.442.437 1.605.437.163 0 .864-.193 1.559-.428 1.168-.394 1.87-.557 2.545-.56zm-21.267 4.31h3v3h-3zm31 0h3v3h-3zm-31 5.75h3v3h-3zm31 0h3v3h-3zm-31 5.75h3v3h-3zm31 0h3v3h-3z" fill="#747474" fill-rule="evenodd"/>
-</svg>


=====================================
share/lua/sd/appletrailers.lua deleted
=====================================
@@ -1,53 +0,0 @@
---[[
-
- Copyright © 2010 VideoLAN and AUTHORS
-
- Authors: Ilkka Ollakka <ileoo at videolan dot org >
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
---]]
-
-function descriptor()
-    return { title="Apple Trailers" }
-end
-
-function find( haystack, needle )
-    local _,_,r = string.find( haystack, needle )
-    return r
-end
-
-function main()
-    fd = vlc.stream( "http://trailers.apple.com/trailers/home/feeds/just_hd.json" )
-    if not fd then return nil end
-    line = fd:readline()
-    while line ~= nil
-    do
-         if string.match( line, "title" ) then 
-            title = vlc.strings.resolve_xml_special_chars( find( line, "title\":\"(.-)\""))
-            art = find( line, "poster\":\"(.-)\"")
-            if string.match( art, "http://" ) then
-            else
-                art = "http://trailers.apple.com"..art
-            end
-
-            url = find( line, "location\":\"(.-)\"")
-            node = vlc.sd.add_item( {title  = title,
-                                     path   = "http://trailers.apple.com"..url.."includes/playlists/web.inc",
-                                     arturl = art})
-
-         end
-         line = fd:readline()
-    end
-end



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a2f93f4b382525d2b4fb59a6120f31f9e40b6139

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a2f93f4b382525d2b4fb59a6120f31f9e40b6139
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list