Overview
xt7-player-mpv.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Jun 27 18:00:31 UTC 2016 - avvissu@yandex.by
4
+
5
+- Update to 0.18.384:
6
+ * see: /usr/share/doc/packages/xt7-player-mpv/CHANGELOG_GIT
7
+
8
+-------------------------------------------------------------------
9
Sun Apr 3 13:51:11 UTC 2016 - avvissu@yandex.by
10
11
- Update to 0.16.384:
12
xt7-player-mpv.spec
Changed
19
1
2
3
4
Name: xt7-player-mpv
5
-Version: 0.16.384
6
+Version: 0.18.384
7
Release: 0
8
Summary: Qt/Gambas gui to mpv
9
License: GPL-2.0+
10
11
Requires: gambas3-gb-web
12
Requires: gambas3-gb-libxml
13
Requires: gambas3-runtime >= 3.8.4
14
-Requires: mpv >= 0.14.0
15
+Requires: mpv >= 0.18.0
16
Requires: wget
17
Requires: youtube-dl
18
Recommends: dvb
19
xt7-player-mpv-0.16.384.tar.gz/README
Deleted
51
1
2
-Xt7-Player (now xt7-player-mpv) is an open source gui to mpv.
3
-
4
-Xt7-Player-mpv aims to be an (in)complete graphical interface
5
-to mpv, focused on usability.
6
-
7
-It also provides extra features like youtube and shoutcast integration, dvbt,
8
-media tagging, library and playlist managment and a lot more.
9
-Visit: http://xt7-player.sourceforge.net/xt7forum/viewtopic.php?f=4&t=2
10
-for a screenshots tour.
11
-
12
-It is written and requires (the latest) Gambas3:
13
-http://gambas.sourceforge.net/en/main.html
14
-
15
-
16
-Mandatory requirements:
17
------------------------------
18
- * Gambas 3 (usually the very latest version)
19
- * Qt4
20
- * mpv
21
-
22
-
23
-
24
-Optional requirements:
25
------------------------------
26
- * taglib to tag audio files and speed-up library syncronization:
27
- http://developer.kde.org/~wheeler/taglib.html
28
-
29
- * xbindkeys: to use global hotkeys
30
- http://hocwp.free.fr/xbindkeys/
31
-
32
- * scan and femon from LinuxTV dvb-apps to use dvbt features
33
- http://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps
34
-
35
- * youtube-dl to watch and download youtube videos
36
- http://rg3.github.com/youtube-dl/
37
-
38
-
39
-
40
-Compiling it:
41
------------------------------
42
-After you installed gambas 3, just checkout and compile xt7 that way:
43
-
44
-# git clone https://github.com/kokoko3k/xt7-player-mpv.git
45
-# cd xt7-player-mpv/
46
-# /path/to/gambas/binaries/gbc3 -e -a -g -t -p -m
47
-# /path/to/gambas/binaries/gba3
48
-# ./xt7-player-mpv.gambas
49
-
50
-
51
xt7-player-mpv-0.16.384.tar.gz/.project -> xt7-player-mpv-0.18.384.tar.gz/.project
Changed
10
1
2
Title=xt7-player
3
Startup=StartClass
4
Icon=xt7-player-mpv.png
5
-Version=0.16.384
6
+Version=0.18.384
7
Component=gb.args
8
Component=gb.image
9
Component=gb.qt4
10
xt7-player-mpv-0.16.384.tar.gz/.settings -> xt7-player-mpv-0.18.384.tar.gz/.settings
Changed
145
1
2
Geometry=[1280,0,224,280]
3
4
[DebugWindow/MyGrid]
5
-Geometry=[51,41,344,344]
6
+Geometry=[849,571,344,344]
7
8
[DebugWindow/MyGrid.Data.Picture]
9
Geometry=[48,-4,210,210]
10
11
Geometry=[0,0,344,344]
12
13
[DebugWindow/SortTable]
14
-Geometry=[11,111,522,603]
15
+Geometry=[-575,540,878,775]
16
17
[DebugWindow/SourceList]
18
Geometry=[0,41,344,344]
19
20
Geometry=[47,0,210,210]
21
22
[DebugWindow/i]
23
-Geometry=[1280,-3,210,446]
24
+Geometry=[1280,-3,224,446]
25
26
[DebugWindow/i.Load(tmpdir & Dir(tmpdir, "*.jpg*")[0])]
27
Geometry=[1280,-3,210,210]
28
29
[DebugWindow/mplayer.cddbtracks]
30
Geometry=[48,-4,410,672]
31
32
+[DebugWindow/mplayer.watched_properties_old_data]
33
+Geometry=[45,-3,224,280]
34
+
35
[DebugWindow/mplayertag]
36
Geometry=[44,-3,734,731]
37
38
39
[DebugWindow/vsplit1.layout]
40
Geometry=[0,-3,224,280]
41
42
+[DebugWindow/watched_properties_old_data]
43
+Geometry=[45,-3,224,280]
44
+
45
[DebugWindow/xbindkeys]
46
ShowHidden=True
47
Geometry=[0,0,344,344]
48
49
50
[OpenFile]
51
File[1]=".src/Form/FMain.form"
52
-File[2]=".src/Form/FMain.class:0.7311"
53
-Active=5
54
-Count=58
55
+File[2]=".src/Form/FMain.class:36.524"
56
+Active=67
57
+Count=67
58
File[3]=".src/Form/HotKeys.form"
59
-File[4]=".src/Form/HotKeys.class:7.406"
60
+File[4]=".src/Form/HotKeys.class:11.486"
61
File[5]=".src/Form/GeneralOptions.form"
62
-File[6]=".src/Form/GeneralOptions.class:10.1004"
63
-File[7]=".src/0_Moduli/Global.module:14.1182"
64
+File[6]=".src/Form/GeneralOptions.class:15.445"
65
+File[7]=".src/0_Moduli/Global.module:40.64"
66
File[8]=".src/Form/AddUriForm.form"
67
File[9]=".src/Form/AddUriForm.class:2.58"
68
File[10]=".src/Form/RealtimeForm.form"
69
File[11]=".src/Form/DVBTuner.form"
70
-File[12]=".src/Form/DVBTuner.class:2.67"
71
+File[12]=".src/Form/DVBTuner.class:11.442"
72
File[13]=".src/Form/EpgForm.form"
73
-File[14]=".src/Form/CoverManager.class:12.1178"
74
+File[14]=".src/Form/CoverManager.class:29.1246"
75
File[15]=".src/Form/NewChains.form"
76
-File[16]=".src/Form/NewChains.class:0.393"
77
-File[17]=".src/Classi/MplayerClass.class:89.1016"
78
-File[18]=".src/Classi/MplayerClass_old.class:22.1240"
79
+File[16]=".src/Form/NewChains.class:49.159"
80
+File[17]=".src/Classi/MplayerClass.class:11.1592"
81
+File[18]=".src/Classi/MplayerClass_old.class:22.1707"
82
File[19]=".src/Form/OpenSubtitesForm.class:55.19"
83
File[20]=".src/Form/OpenSubtitesForm.form"
84
-File[21]="AA_ToDo:80.837"
85
+File[21]="AA_ToDo:103.769"
86
File[22]=".src/Form/ladspahelper.class:22.194"
87
File[23]=".src/Form/HotKeyGrab.form"
88
File[24]=".src/Form/HotKeyGrab.class:2.28"
89
File[25]="CHANGELOG_GIT:48.161"
90
-File[26]=".src/Classi/StartClass.class:1.46"
91
+File[26]=".src/Classi/StartClass.class:15.40"
92
File[27]=".src/0_Moduli/HotKeysHelper.module:19.185"
93
File[28]=".src/Form/ladspahelper.form"
94
File[29]=".src/Form/FormLyrics.class:26.213"
95
File[30]=".src/Classi/TagLib.class:0.88"
96
-File[31]=".src/Classi/PlaylistClass.class:28.1170"
97
+File[31]=".src/Classi/PlaylistClass.class:22.847"
98
File[32]=".src/Form/FormLyrics.form"
99
File[33]=".src/Form/FsForm.form"
100
File[34]=".src/Form/FsForm.class:0.18"
101
-File[35]=".src/0_Moduli/MyDialog.class:0.5"
102
-File[36]=".src/Classi/SettingsClass.class:492.14"
103
+File[35]=".src/0_Moduli/MyDialog.class:26.102"
104
+File[36]=".src/Classi/SettingsClass.class:26.572"
105
File[37]="FakeInput.conf:8.279"
106
-File[38]=".src/Form/zzzFake.class:18.49"
107
+File[38]=".src/Form/zzzFake.class:0.58"
108
File[39]=".src/Form/zzzFake.form"
109
-File[40]=".src/Classi/randr.class:0.2"
110
+File[40]=".src/Classi/randr.class:6.149"
111
File[41]=".src/Form/AudioConvert.form"
112
File[42]=".src/Form/AudioConvert.class:30.121"
113
File[43]=".src/Classi/YoutubeClass.class:30.674"
114
File[44]=".src/Classi/ShoutCastClass.class:38.334"
115
-File[45]=".src/Classi/IceCastClass.class:0.29"
116
+File[45]=".src/Classi/IceCastClass.class:15.30"
117
File[46]=".src/Form/MyQuestion.class:0.79"
118
-File[47]=".src/Classi/WgetClass.class:24.25"
119
+File[47]=".src/Classi/WgetClass.class:25.65"
120
File[48]=".src/Form/TextDialog.form"
121
File[49]=".src/Form/LogWindow.form"
122
File[50]=".src/Form/AudioForm.form"
123
-File[51]=".src/Form/AudioForm.class:26.234"
124
+File[51]=".src/Form/AudioForm.class:32.349"
125
File[52]=".src/Classi/VSlider.class:25.17"
126
-File[53]=".src/Classi/Meters.class:16.94"
127
+File[53]=".src/Classi/Meters.class:16.197"
128
File[54]="shade_alpha.png"
129
File[55]=".src/Form/OverlayTrayTip.class:15.125"
130
File[56]="3dglassess.png"
131
File[57]=".src/Classi/dvbsnoop_class.class:20.84"
132
File[58]=".src/0_Moduli/ComboHistory.module:0.34"
133
+File[59]=".src/Classi/FloatSpinBox.class:23.36"
134
+File[60]=".src/Classi/LibVisualClass.class:0.0"
135
+File[61]=".src/Form/SubAndOsd.form"
136
+File[62]="00_note:59.111"
137
+File[63]=".src/Classi/AlbumView.class:15.251"
138
+File[64]=".src/Form/EpgForm.class:11.38"
139
+File[65]=".src/Form/TranslationNeeded.class:0.18"
140
+File[66]=".src/Classi/OpenSubtitlesAPI.class:28.23"
141
+File[67]=".src/Form/SubAndOsd.class:9.148"
142
143
[Watches]
144
Count=6
145
xt7-player-mpv-0.16.384.tar.gz/.src/0_Moduli/Global.module -> xt7-player-mpv-0.18.384.tar.gz/.src/0_Moduli/Global.module
Changed
31
1
2
Public arg_append As Boolean = False 'cmdline argument: the user want to append an uri to a running instance
3
Public arg_debug As Boolean = False
4
Public arg_new_instance As Boolean = False
5
+Public arg_start_tray As Boolean = False
6
7
Public Sub init()
8
'FixFormNames() 'needed with gambas 3.4.1; form names arent set by default!
9
10
End
11
12
Public Function IsPlaylist(filename As String) As Boolean
13
- If ((filename Like "*.pls") Or (filename Like "*.pls\\?*")) Then Return True
14
- If ((filename Like "*.m3u") Or (filename Like "*.m3u\\?*")) Then Return True
15
- If ((filename Like "*.asx") Or (filename Like "*.asx\\?*")) Then Return True
16
- If ((filename Like "*.wax") Or (filename Like "*.wax\\?*")) Then Return True
17
- If ((filename Like "*.wvx") Or (filename Like "*.wvx\\?*")) Then Return True
18
- If ((filename Like "*.ram") Or (filename Like "*.ram\\?*")) Then Return True
19
- If ((filename Like "*.b4s") Or (filename Like "*.b4s\\?*")) Then Return True
20
+ Dim lfilename As String = Lower(filename)
21
+ If ((lfilename Like "*.pls") Or (lfilename Like "*.pls\\?*")) Then Return True
22
+ If ((lfilename Like "*.m3u") Or (lfilename Like "*.m3u\\?*")) Then Return True
23
+ If ((lfilename Like "*.asx") Or (lfilename Like "*.asx\\?*")) Then Return True
24
+ If ((lfilename Like "*.wax") Or (lfilename Like "*.wax\\?*")) Then Return True
25
+ If ((lfilename Like "*.wvx") Or (lfilename Like "*.wvx\\?*")) Then Return True
26
+ If ((lfilename Like "*.ram") Or (lfilename Like "*.ram\\?*")) Then Return True
27
+ If ((lfilename Like "*.b4s") Or (lfilename Like "*.b4s\\?*")) Then Return True
28
Return False
29
End
30
31
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/AlbumView.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/AlbumView.class
Changed
10
1
2
'Endif
3
coverfile = CoverManager.Coverfile(artist, album, path)
4
5
- If Not Exist(coverfile) 'se il coverfile non esiste
6
+ If Not Exist(coverfile, True) 'se il coverfile non esiste
7
If CoverManager.IsUncovered(path) Then '...e non può essesere creato/caricato
8
view.Data.Picture = CoverManager.coverpicture(coverfile, path, iconsize) 'ritorna quello di default
9
Else
10
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/MplayerClass.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/MplayerClass.class
Changed
137
1
2
properties.add("track-list/" & T & "/lang")
3
properties.add("track-list/" & T & "/type")
4
properties.add("track-list/" & T & "/codec")
5
+ properties.add("track-list/" & T & "/selected")
6
Next 'T
7
8
properties.Add("vo-configured")
9
10
Dim chans As String[]
11
Dim chansfix As New String[]
12
Dim chanfile As String = User.home & "/.config/mpv/channels.conf.ter"
13
- If Not (Exist(chanfile)) Then Return 0
14
+ If Not (Exist(chanfile, True)) Then Return 0
15
16
chans = Split(file.Load(chanfile), "\n")
17
For i = 0 To chans.Max 'we have to discard any non valid channel line, because so does mplayer
18
19
Public event_loop As Timer
20
21
22
-Public watched_properties As New String[]
23
-Public watched_properties_old_data As New String[]
24
+Public watched_properties_old_data As New Collection 'name holds property name, data holds old data value
25
26
Public Sub event_loop_timer()
27
'* generate events on property changes
28
'* keep properties updated
29
Dim name, data_new, data_old As String
30
- Dim i As Integer
31
+ Dim watched_properties As New String[]
32
+
33
+ For Each data_old In watched_properties_old_data
34
+ watched_properties.Add(watched_properties_old_data.key)
35
+ Next
36
If watched_properties.count > 0 Then
37
get_properties_mpv(watched_properties, False) 'async ask for those properties
38
Wait 0.1
39
'see if some property has changed:
40
41
- For i = 0 To watched_properties.count - 1
42
-
43
- name = watched_properties[i]
44
+ For Each data_old In watched_properties_old_data
45
+ name = watched_properties_old_data.Key
46
data_new = getP(name)
47
- data_old = watched_properties_old_data[i]
48
-
49
If data_old <> data_new Then
50
Raise property_change(name, data_old, data_new)
51
- watched_properties_old_data[i] = data_new
52
+ watched_properties_old_data[name] = data_new
53
Endif
54
Next
55
Endif
56
-
57
-
58
End
59
60
Event property_change(name As String, data_old As String, data_new As String)
61
62
Event seeking()
63
64
+
65
Private Function internal_options() As Collection
66
Dim out As New Collection
67
68
69
Shell killer_script & " " & Application.id & " " & playerprocess.id
70
global.myDebug(killer_script & " " & Application.id & " " & playerprocess.id)
71
72
- watched_properties_old_data.Resize(watched_properties.count)
73
+
74
event_loop = New Timer As "event_loop"
75
event_loop.delay = 500
76
event_loop.start
77
78
Dim properties As String[]
79
Dim cuetext As String
80
Dim fullpath As String
81
-
82
fullpath = getP("fullpath")
83
84
If fullpath = "" Then Return
85
86
FillMultitracks(force_audio_only) 'will set prop[audioonly] too.
87
88
Try setP("size", (Stat(fullpath, True).Size Div 1024))
89
-
90
properties = New String[]
91
properties.insert(["filename", "partially-seekable", "file-format", "audio-codec"]) 'common
92
'properties.Insert(["=audio-bitrate", "audio-channels", "=audio-channels", "=audio-samplerate"]) 'common
93
94
95
mpv_command(["no-osd", "screenshot_to_file", picfile, "video"])
96
97
- While Not Exist(picfile) 'wait for mplayer answer
98
+ While Not Exist(picfile, True) 'wait for mplayer answer
99
Wait 0.05
100
timeout = timeout - 1
101
Wend
102
103
Public Sub thumbprocess_kill()
104
Try Copy outdirpriv & "/" & Dir(outdirpriv, "*")[0] To newfilenamepriv
105
Shell "rm -R " & outdirpriv & "&>/dev/null"
106
- If Exist(newfilenamepriv) Then
107
+ If Exist(newfilenamepriv, True) Then
108
Raise ThumbAvailableFor(Thumbfullpathpriv, gridpriv, rowpriv, columnpriv)
109
Else
110
If ShortMovieChecked Then
111
112
113
'wait for pic
114
timeout = 100
115
- If Not Exist(tmpdir) Then Goto lStart
116
+ If Not Exist(tmpdir, True) Then Goto lStart
117
While Dir(tmpdir, "*.png").count = 0 And (timeout > 0) And mpanalyze.state = Process.Running
118
Wait 0.01
119
timeout -= 1
120
121
Try cTimei = Split(cTime, ".")[0]
122
Try cTimef = Split(cTime, ".")[1]
123
Try t = tmpdir & Dir(tmpdir, "*.png")[0]
124
- If Exist(t) Then
125
+ If Exist(t, True) Then
126
Try i = i.Load(tmpdir & Dir(tmpdir, "*.png")[0])
127
'Shell "mv " & (tmpdir & Dir(tmpdir, "*.jpg")[0]) & " /tmp/tmp/" & ctime & ".jpg" Wait
128
If Not Error Then
129
130
For Each name In names
131
p = getP(name)
132
p_timestamp = getP_time(name)
133
- Debug p_timestamp
134
If wait_unavailable Then
135
If (p_timestamp > time_zero) And (p <> unavailable_str) Then names.Remove(names.Find(name))
136
Else
137
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/MplayerClass_old.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/MplayerClass_old.class
Changed
37
1
2
Random1 = Int(Rnd(0, 65535))
3
Try Mkdir global.confpath & "/.InputPipes"
4
inputpipe = global.confpath & "/.InputPipes/Xt7Input-" & Random1
5
- If Exist(inputpipe) Then Shell "rm '" & inputpipe & "'" Wait
6
+ If Exist(inputpipe, True) Then Shell "rm '" & inputpipe & "'" Wait
7
Shell "mkfifo " & inputpipe Wait
8
'SLEEP 1
9
End
10
11
Public Sub thumbprocess_kill()
12
Try Copy outdirpriv & "/" & Dir(outdirpriv, "*")[0] To newfilenamepriv
13
Shell "rm -R " & outdirpriv & "&>/dev/null"
14
- If Exist(newfilenamepriv) Then
15
+ If Exist(newfilenamepriv, True) Then
16
Raise ThumbAvailableFor(Thumbfullpathpriv, gridpriv, rowpriv, columnpriv)
17
Else
18
If ShortMovieChecked Then
19
20
21
'wait for pic
22
timeout = 100
23
- If Not Exist(tmpdir) Then Goto lStart
24
+ If Not Exist(tmpdir, True) Then Goto lStart
25
While Dir(tmpdir, "*.jpg").count = 0 And (timeout > 0) And mpanalyze.state = Process.Running
26
Wait 0.01
27
timeout -= 1
28
29
Try cTimei = Split(cTime, ".")[0]
30
Try cTimef = Split(cTime, ".")[1]
31
Try t = tmpdir & Dir(tmpdir, "*.jpg")[0]
32
- If Exist(t) Then
33
+ If Exist(t, True) Then
34
Try i = i.Load(tmpdir & Dir(tmpdir, "*.jpg")[0])
35
'Shell "mv " & (tmpdir & Dir(tmpdir, "*.jpg")[0]) & " /tmp/tmp/" & ctime & ".jpg" Wait
36
If Not Error Then
37
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/OpenSubtitlesAPI.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/OpenSubtitlesAPI.class
Changed
10
1
2
timeout -= 1
3
Wend
4
If timeout = 0 Then Return "-1"
5
- If Exist(Responsefile) Then
6
+ If Exist(Responsefile, True) Then
7
answer = Trim(File.Load(responsefile))
8
Endif
9
Return File.Load(Responsefile)
10
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/PlaylistClass.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/PlaylistClass.class
Changed
136
1
2
Dim i, r As Integer
3
Dim layout As String = "Layout"
4
Dim MyFile As File
5
+ Try Copy filename To filename & ".bak"
6
Myfile = Open filename For Write Create
7
'write table layout
8
For i = 0 To mygrid.Columns.Count - 1
9
10
Print #Myfile, Table[r]
11
Next 'c
12
Close #MyFile
13
+
14
End
15
16
17
18
19
20
21
- If Exist(dirtoadd) And (Not MatchExcluded) Then
22
+ If Exist(dirtoadd, True) And (Not MatchExcluded) Then
23
For Each filename In Dir(DirToAdd).Sort()
24
If Right(DirToAdd) <> "/" Then DirToadd = DirToAdd & "/"
25
MyExist = True
26
27
End
28
29
30
-
31
Public Sub SyncSortedTable()
32
'Will fill SortTable with Full paths from ptable
33
'and sort it to allow fast searches for duplicates through function IsDupe()
34
35
'DIM starttime AS Date = Now
36
'DIM endtime AS Date
37
38
-
39
Dim i As Integer
40
41
-
42
Dim Field As String = "Full Path"
43
SortTable.clear
44
'PRINT "Debug: playlistclass syncsorttable() start at: " & Time
45
46
SortTable.Add(GetValue(Ptable[i], Field))
47
Next 'i
48
' [GB2:TEXT] SortTable = SortTable.Sort(gb.text)
49
- SortTable = SortTable.Sort(gb.language)
50
+
51
+ Try SortTable = SortTable.Sort(gb.language)
52
+ If Error Then
53
+ Debug "SortTable.Sort(gb.language) failed."
54
+ Debug "Some filename is using a wrong charset,"
55
+ Debug "Failing back to Mergesort with comparison error handling,"
56
+ Debug "but this may be inaccurate and lead to wrong search results."
57
+ Debug "You are STRONGLY advised to fix your filenames."
58
+ sorttable = mergesort(SortTable)
59
+ Endif
60
+
61
'PRINT "Debug: playlistclass syncsorttable() end at: " & Time
62
63
'endtime = Now
64
65
66
End
67
68
+
69
+Private Function MergeSort(aArray As String[]) As String[]
70
+ 'override for builtin gambas sort function with
71
+ 'error check on comparison functions
72
+ 'uses mergesort.
73
+
74
+ Dim aA, aB As String[]
75
+ Dim iI As Integer = 0, iJ As Integer = 0, iK As Integer = 0
76
+ Dim iMid As Integer
77
+
78
+ ' Trivial case
79
+ If aArray.Count = 1 Then Return aArray
80
+ ' Split
81
+ iMid = aArray.Count / 2
82
+ aA = MergeSort(aArray.Copy(0, iMid))
83
+ aB = MergeSort(aArray.Copy(iMid, aArray.Count - iMid))
84
+ ' Merge. We reuse the space in aArray to save the sorted array
85
+ While iI < aA.Count And iJ < aB.Count
86
+ 'If aA[iI] <= aB[iJ] Then
87
+ If FirstIsEqualLess(aA[iI], aB[iJ]) Then
88
+ aArray[iK] = aA[iI]
89
+ Inc iI
90
+ Else
91
+ aArray[iK] = aB[iJ]
92
+ Inc iJ
93
+ Endif
94
+ Inc iK
95
+ Wend
96
+ If iI = aA.Count Then ' Put the non-consumed array into aA
97
+ aA = aB
98
+ iI = iJ
99
+ Endif
100
+ While iI < aA.Count
101
+ aArray[iK] = aA[iI]
102
+ Inc iI
103
+ Inc iK
104
+ Wend
105
+ Return aArray
106
+End
107
+
108
+Public Sub FirstIsEqualLess(a As String, b As String) As Boolean
109
+ Dim out As Boolean = True
110
+ Try out = Comp(a, b, gb.language) <= 0
111
+ If Error Then
112
+ Debug "Error while comparing strings, with gb.language", a, b
113
+ Try out = Comp(a, b, gb.natural) <= 0
114
+ If Error Then
115
+ Debug "Error while comparing strings, with gb.natural", a, b
116
+ Try out = Comp(a, b, gb.binary) <= 0
117
+ If Error Then Debug "Error while comparing strings, with gb.binary, giving up.", a, b
118
+ Endif
119
+ Endif
120
+ Return out
121
+End
122
+
123
+
124
+
125
Private Function BinarySearch(item As String) As Integer
126
Dim first, Tlast, middle As Integer
127
128
129
'find the maximum Gambas column width
130
For TextW = 3000 DownTo 0 Step 4
131
Try MyGrid.Columns[0].w = TextW
132
+ If Error Then Return
133
If MyGrid.Columns[0].w = TextW Then Break
134
Next
135
maxgbw = TextW
136
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/SettingsClass.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/SettingsClass.class
Changed
37
1
2
Public ExcludedValues As String[] = ["thumblebox", "NumberBox", "View", "Statusbar1", "SeekBar", "TagPanel", "DriverDescription", "DescriptionArea", "FilterTextBox", "NOPARSETABLIBRARY", "NOPARSETABALBUMS", "NOPARSETABBROWSE", "NOPARSETABPLAYLIST", "NOPARSETABCHAPTERS", "NOPARSETABFLASH", "NOPARSETABSHOUTCAST", "NOPARSETABPODCAST", "NOPARSETABDVB", "NOPARSETABCDDA", "NOPARSETABDVD", "NOPARSETABPROFILES", "NOPARSETABMEDIAINFO", "YOUVIDEOINFO", "SCROLLVIEWYT", "SIDEPANELYOUTUBE", "CACHEBAR", "NOSAVEVBOX2", "NOSAVEVBOX3", "NOSAVEHBOX10", "AUDIOCHAINBOX", "AUDIOFILTERSBOX", "VIDEOCHAINBOX", "VIDEOFILTERSBOX", "PLAYLISTSELINFOBOX", "PLAYLISTSELINFO", "LIBRARYSELINFO", "BUTTON_SHOW_MAN", "HELPBOX", "TEXTAREAHELP", "NOSAVELABEL1", "filter_button_up", "filter_button_down"]
3
4
Public Function ReadedConfFile(FileName As String) As String[]
5
- If Exist(FileName) Then Return Split(File.Load(filename), "\n", "", True)
6
+ If Exist(FileName, True) Then Return Split(File.Load(filename), "\n", "", True)
7
'else
8
Return [""]
9
End
10
11
Dim FileInMemory As String
12
Dim Splitted As New String[]
13
14
- If Exist(FileName) Then
15
+ If Exist(FileName, True) Then
16
ConfFile = Open FileName For Read
17
Read #ConfFile, FileInMemory, - Stat(FileName).size
18
Close #ConfFile
19
20
'Filename is the form setting file
21
'/home/user/.config/gambas/Xt7-Player/default.profile/FMain
22
FileName = Filename & ".profile/" & TheForm.name
23
-
24
+
25
theSettings = ReadedConfFile(Filename)
26
27
For i = 0 To thesettings.Max
28
29
Dim i As Integer
30
Dim tmp As String
31
32
- If Exist(myfilename) Then
33
+ If Exist(myfilename, True) Then
34
myfile = Open myfilename For Read
35
For i = 0 To FMain.LeftSideTabs.count - 1
36
Try Line Input #myfile, tmp
37
xt7-player-mpv-0.16.384.tar.gz/.src/Classi/WgetClass.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Classi/WgetClass.class
Changed
19
1
2
Try out = File.Load(tmpfile)
3
Endif
4
tries = tries - 1
5
- If Exist(tmpfile) Then
6
+ If Exist(tmpfile, True) Then
7
If (Stat(tmpfile).size > 0) Then wgetdone = True
8
Endif
9
'UNTIL ((tries = 0) OR (Stat(tmpfile).size > 0))
10
11
While (ProcessRunningOvr(wgetprocess2))
12
Wait 0.05
13
Wend
14
- If Exist(tmpfile) Then
15
+ If Exist(tmpfile, True) Then
16
If (Stat(tmpfile).size > 0) Then wgetdone = True
17
Endif
18
Until ((tries = 0) Or wgetdone)
19
xt7-player-mpv-0.16.384.tar.gz/.src/Form/AudioForm.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/AudioForm.class
Changed
13
1
2
leftalignup.w = (AudioPanel.w - Max(upwidth, downWidth)) Div 2
3
leftaligndown.w = leftalignup.w
4
5
- ' audioform.GridDown.Columns[0].w = -1
6
- ' audioform.GridDown.Columns[1].w = -1
7
- ' audioform.GridUp.Columns[0].w = -1
8
- ' audioform.GridUp.Columns[1].w = -1
9
+
10
End
11
12
Public Sub UpdateCell(g As Gridview, row As Integer, column As Integer, t As String)
13
xt7-player-mpv-0.16.384.tar.gz/.src/Form/AudioForm.form -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/AudioForm.form
Changed
71
1
2
Alignment = Align.Center
3
}
4
}
5
+ { TimerZoomOut #Timer
6
+ #Move(140,63)
7
+ Delay = 30
8
+ }
9
{ GridUp GridView audioareagroup
10
Name = "GridUp"
11
Move(189,14,364,133)
12
13
ScrollBar = Scroll.None
14
AutoResize = False
15
}
16
- { TimerZoomOut #Timer
17
- #Move(210,56)
18
- Delay = 30
19
- }
20
{ GridUpShadow GridView
21
- Move(217,28,364,100)
22
+ Move(301,7,364,100)
23
Background = &HFF000000&
24
Border = False
25
Grid = False
26
27
}
28
{ Panel1 Panel audioareagroup
29
Name = "Panel1"
30
- Move(35,210,588,150)
31
+ Move(28,196,588,150)
32
Arrangement = Arrange.Horizontal
33
AutoResize = True
34
Spacing = True
35
36
Tracking = True
37
}
38
{ GridDownShadow GridView
39
- Move(21,0,504,56)
40
+ Move(42,-7,504,56)
41
Background = &HFF000000&
42
Border = False
43
Grid = False
44
45
}
46
{ GridDown GridView audioareagroup
47
Name = "GridDown"
48
- Move(77,0,504,50)
49
+ Move(133,14,504,50)
50
Background = &HFF000000&
51
Border = False
52
Grid = False
53
54
}
55
{ PictureBack PictureBox AudioAreaGroup
56
Name = "PictureBack"
57
- Move(406,63,231,63)
58
+ Move(315,84,231,63)
59
Tracking = True
60
Drop = True
61
Expand = True
62
63
}
64
}
65
{ TimerZoomIn #Timer
66
- #Move(182,161)
67
+ #Move(49,154)
68
Delay = 30
69
}
70
}
71
xt7-player-mpv-0.16.384.tar.gz/.src/Form/CoverManager.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/CoverManager.class
Changed
46
1
2
Return cornice(Stock[CStr(height + shadowoffset) & "/video"].Image, neww)
3
Endif
4
5
-If Exist(coverfile) Then
6
+If Exist(coverfile, True) Then
7
Try Return CoverCacheList[cachefile].picture 'Se esiste l 'immagine in memoria dai l 'immagine in memoria ed esci
8
If Error Then 'Se non esiste l 'immagine in memoria, allora
9
- If Exist(cachefile) Then 'Se esiste una cache su disco allora
10
+ If Exist(cachefile, True) Then 'Se esiste una cache su disco allora
11
Try CoverCacheList.Add(cachefile, "", cornice(Shadowed(picture.Load(cachefile)), neww)) 'mettila IN memoria **************************************
12
If Not Error Then Return CoverCacheList[cachefile].picture 'ritornala
13
Else 'Altrimenti(non esiste cache su disco)
14
- If Exist(coverfile) 'se esiste la cover su disco, ma non la cache
15
+ If Exist(coverfile, True) 'se esiste la cover su disco, ma non la cache
16
tmpimage = image.Load(coverfile)
17
If (tmpimage.w < tmpimage.h) Then
18
width = ((tmpimage.w / tmpimage.h) * height)
19
20
picturebox1.refresh
21
'Me.show
22
Wait 0.1
23
- If ((Not Exist(Coverfile(ArtistText.text, AlbumText.text))) And Not JustFileCover) Or forcesearch Then
24
+ If ((Not Exist(Coverfile(ArtistText.text, AlbumText.text), True)) And Not JustFileCover) Or forcesearch Then
25
Try search() 'start a fetch
26
Endif
27
Endif
28
29
Return
30
Else 'file not (yet?) marked as not found
31
If Not global.IsNetworkURI(fullpath) Then
32
- If Not Exist(fullpath) Then
33
+ If Not Exist(fullpath, True) Then
34
global.myDebug("Missing file! " & fullpath)
35
FileNotFoundAdd(fullpath)
36
'mygrid[row, 0].picture = picture["icon:/" & (rowheight -global.rowpadding) & "/error"]
37
38
Wait 0.05
39
Wend
40
If FMain.closing Then Return
41
- If Exist(coverfilepath) Then Return
42
+ If Exist(coverfilepath, True) Then Return
43
mplayerthumb = New Mplayerclass As "thumbnailer"
44
runningthumblers += 1
45
global.myDebug(runningthumblers)
46
xt7-player-mpv-0.16.384.tar.gz/.src/Form/DVBTuner.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/DVBTuner.class
Changed
30
1
2
Scanexe = Trim(Scanexe)
3
femonexe = Trim(femonexe)
4
5
- If Not (Exist(Trim(scanexe)) And Exist(Trim(femonexe))) Then
6
+ If Not (Exist(Trim(scanexe), True) And Exist(Trim(femonexe), True)) Then
7
errmessage = errmessage & "Sorry, cannot find 'scan' and/or 'femon'\n"
8
errmessage = errmessage & "\n"
9
errmessage = errmessage & "Fill scan and femon executables fields\n"
10
11
mplayerchannelsfilebak = mplayerchannelsfile & ".prext7"
12
'mplayer doesn't support to specify an alternative channels file, so
13
'we backup an existing one and populate it again with our values
14
- If (Not Exist(mplayerchannelsfilebak)) Then
15
- If Exist(mplayerchannelsfile) Then
16
+ If (Not Exist(mplayerchannelsfilebak, True)) Then
17
+ If Exist(mplayerchannelsfile, True) Then
18
Try Copy mplayerchannelsfile To mplayerchannelsfilebak
19
If Not Error Then
20
displayinfo = True
21
22
End
23
24
Public Sub selecttuning()
25
- If Exist("/usr/share/dvb/dvb-t") Then myDialog.Path = "/usr/share/dvb/dvb-t/"
26
+ If Exist("/usr/share/dvb/dvb-t", True) Then myDialog.Path = "/usr/share/dvb/dvb-t/"
27
myDialog.OpenFile()
28
ftablefilesource = myDialog.Path
29
Me.Caption = "Tuning Data file: " & File.Name(ftablefilesource)
30
xt7-player-mpv-0.16.384.tar.gz/.src/Form/FMain.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/FMain.class
Changed
691
1
2
Public SwitchingFullScreen As Boolean = False
3
4
'Private UserStopped As Boolean = False 'if user has hit stop, don't advance in playlist.
5
-Private FirstPlay As Boolean = False ' used to avoid playing the media at startup if togglepls button is toggled
6
+Public FirstPlay As Boolean = False ' used to avoid playing the media at startup if togglepls button is toggled
7
8
Public LastDvdID As String = "" 'used to manage dvd disk changes
9
10
11
global.initearlyformsdone = True
12
SubAndOsd.Init()
13
GeneralOptions.Init()
14
+ generaloptions.BackColorChooseBTN2.background = Color.Merge(Color.TextBackground, Color.black, 0.1)
15
Try Last.mouse = mouse.default
16
fmain.mouse = mouse.default
17
global.myDebug("Ends at:" & Time)
18
19
Public Sub AllInit_Post()
20
Dim cscreen As Screen
21
Dim savefileview1path As String
22
+ If Not Panel2.visible Then Panel2.visible = True
23
+ If MyLibraryProgressBar.visible Then MyLibraryProgressBar.visible = False
24
+
25
Hsplit1ResizeDelayed = New Timer As "Hsplit1ResizeDelayed" 'used to delay the hsplit resize and better performance
26
Hsplit1ResizeDelayed.delay = 300
27
Hsplit1ResizeDelayed.Enabled = False
28
29
Try HotKeys.LoadHotKeys(global.confpath & "/" & global.CurrentProfile)
30
Try UpdateProfilesTabList()
31
UpdateMenuTabVisibility()
32
- If GeneralOptions.TrayCHK1.value Then Try InitTrayIcon()
33
+ If (GeneralOptions.TrayCHK1.value) Or global.arg_start_tray Then Try InitTrayIcon()
34
+ If global.arg_start_tray Then
35
+ If desktop.HasSystemTray Then
36
+ fmain.Minimized = True
37
+ fmain.SkipTaskbar = True
38
+ Endif
39
+ Endif
40
If TabSelectedShoutcast() Then
41
ShoutCast_Select()
42
Else If TabSelectedLibrary() Then
43
44
Endif
45
46
If global.arg_file <> "" Then
47
- If Exist(global.arg_file) Then fmain.ShowBrowseTabTo(global.arg_file)
48
+ If Exist(global.arg_file, True) Then fmain.ShowBrowseTabTo(global.arg_file)
49
Endif
50
If GeneralOptions.ToolTipsCHKDBUS.value Then Try ExportDbusProperties()
51
updaterecentfiles()
52
53
Dim Userfont As Font = GeneralOptions.FontChooseBTN1.font
54
55
Dim i As Integer
56
-
57
If GeneralOptions.HideTabTextCHK.value Then
58
For i = 0 To Leftsidetabs.Count - 1
59
leftsidetabs[i].text = ""
60
61
GenresTree.Foreground = forecolor
62
GenresTree.Background = backcolor
63
64
+ ShutResultGrid.font = userfont
65
+ ShutResultGrid.Foreground = forecolor
66
+ ShutResultGrid.Background = backcolor
67
+
68
PodcastTree.font = Userfont
69
PodcastTree.Foreground = forecolor
70
PodcastTree.Background = backcolor
71
72
Public havetoshowbrowsetab As Boolean = False
73
Private PlayFromCommandline As Boolean = False
74
75
+Private timer_delay_play As Timer
76
+
77
Public Sub MainInit()
78
79
Dim AlreadyRunning As Boolean = False
80
81
FirstTimeXt7 = Not (Exist(global.ConfPath))
82
ShutOff_Click()
83
MakeProfilePath()
84
-
85
+
86
Try Shell "mkdir -p " & Global.ScreenshotFolder & " >/dev/null 2>&1" Wait
87
Try Mkdir User.home & "/.config/mpv/"
88
covermanager.MakeCoverDirs()
89
90
If global.CurrentProfile = "" Then global.CurrentProfile = "default"
91
92
If (Not global.initearlyformsdone) Then InitEarlyForms()
93
+
94
ReallySaveAllSettings(global.currentprofile, False) 'before loading user settings, make a profile with factory values.
95
global.myDebug("Made a new profile: '" & global.CurrentProfile & "' as a copy of the factory default one")
96
97
98
99
Try UpdateProfilesTabList()
100
101
- If (global.arg_file <> "") Then
102
+ AllInit_pre()
103
104
- AllInit_pre()
105
+ If (global.arg_file <> "") Then
106
107
FirstPlay = True 'used to avoid playing media at start when togglepls button is toggled
108
Me.mouse = mouse.Wait
109
110
If (Not global.arg_append) And (global.arg_file <> "") Then
111
Media_Next_path = DConv(global.arg_file)
112
PlayFromCommandline = True
113
- If Exist(DConv(global.arg_file)) Then SetActivePlayQueue("browse")
114
- Play(DConv(global.arg_file))
115
+ If Exist(DConv(global.arg_file), True) Then SetActivePlayQueue("browse")
116
+ If global.IsPlaylist(global.arg_file) Then
117
+ timer_delay_play = New Timer As "timer_delay_play"
118
+ timer_delay_play.delay = 100
119
+ timer_delay_play.Start()
120
+ Else
121
+ Play(DConv(global.arg_file))
122
+ Endif
123
+
124
Endif
125
Me.Mouse = mouse.Default
126
havetoshowbrowsetab = True
127
128
Else
129
130
- AllInit_pre()
131
FMain.LoadFormGeometry()
132
- fmain.Show
133
+ If Not global.arg_start_tray Then fmain.Show
134
Endif
135
136
DelayTimer.delay = 1000
137
138
End
139
140
141
+Public Sub timer_delay_play_Timer()
142
+
143
+ If Not fmain.FullyLoaded Then Return
144
+ timer_delay_play.stop
145
+ Play(DConv(global.arg_file))
146
+
147
+ 'hacky.
148
+ audioform.AutoresizeAudioForm()
149
+End
150
+
151
+
152
+
153
Public Sub ShowBrowseTabTo(fullpath As String)
154
155
Dim path As String
156
157
Dim cTime As Integer = 0
158
Dim audio_codec As String = ""
159
Dim chapter As Integer
160
+ Dim tracklist_current_audio As Integer = 0
161
162
If Not mplayer.ProcessRunningOvr() Then Return
163
164
165
166
PropertiesGrid[12, 1].text = mplayer.getP("=audio-params/channels")
167
PropertiesGrid[13, 1].text = mplayer.getP("=audio-params/samplerate")
168
- PropertiesGrid[14, 1].text = mplayer.getP("audio-codec")
169
+ 'PropertiesGrid[14, 1].text = mplayer.getP("audio-codec")
170
+ Try tracklist_current_audio = mplayer.getP("tracklist-current-audio")
171
+ PropertiesGrid[14, 1].text = mplayer.getP("track-list/" & tracklist_current_audio & "/codec")
172
'Try PropertiesGrid[15, 1].text = (CInt(mplayer.get_property_mpv("=audio-bitrate")) Div 1000) & "Kbps"
173
Try PropertiesGrid[15, 1].text = mplayer.get_property_mpv("audio-bitrate")
174
175
176
177
Try Shell "rm -R " & global.ConfPath & "/" & "thumbcontainer.* &>/dev/null"
178
StartClass.ProcessSignals(False)
179
- If buttoncapture.value Then StopDumping(generaloptions.dvbfinaldir.text)
180
+ If buttoncapture.value Then StopDumping()
181
182
Try Unlock hLock
183
Repeat
184
185
Dim dH As Integer = 3
186
Dim AR As Float = 1.333
187
Dim ARv As Float = videobox.w / videobox.h
188
- Dim NoBarResize As Float
189
+ Dim f As Float
190
+ Dim videodisplay_w, videodisplay_h As Integer
191
+ Dim barsize As Integer
192
+ Dim NoBarResize, halfbarresize As Float
193
194
Dim no_video As Boolean = True
195
196
If zzzfake.YTPanel.Parent = outerbox Then YTPanel_myrefresh()
197
198
-
199
Try no_video = mplayer.getP("audioonly")
200
If no_video Then Return
201
202
203
If fmain.closing Then Return
204
If global.IsImgFile(mplayer.getP("fullpath")) Then mplayer.do_seek(0)
205
206
- Try dW = mplayer.getP("video-params/dw")
207
- Try dH = mplayer.getP("video-params/dh")
208
- AR = dW / dH
209
+ If ForcedAspectRT = "default" Then
210
+ Try dW = mplayer.getP("video-params/dw")
211
+ Try dH = mplayer.getP("video-params/dh")
212
+ AR = dW / dH
213
+ Else
214
+ Try AR = CFloat(ForcedAspectRT)
215
+ If Error Then AR = 16 / 9
216
+ Endif
217
+
218
219
If AR > ARv Then
220
- NoBarResize = (videobox.h / (VideoBox.w / AR)) - 1
221
- Else
222
- NoBarResize = ((videobox.w / ar) / VideoBox.h) - 1
223
+ videodisplay_w = videobox.w
224
+ videodisplay_h = videobox.w / AR
225
+ barsize = videobox.h - videodisplay_h
226
+ Try nobarresize = Log2((videobox.h / videodisplay_h))
227
+ Try Halfbarresize = Log2(((barsize / 2) + videodisplay_h) / videodisplay_h)
228
+ Else
229
+ videodisplay_h = videobox.h
230
+ videodisplay_w = videobox.h * ar
231
+ barsize = videobox.w - videodisplay_w
232
+ Try nobarresize = Log2((videobox.w / videodisplay_w))
233
+ Try Halfbarresize = Log2(((barsize / 2) + videodisplay_w) / videodisplay_w)
234
Endif
235
236
'apply the zoom factor:
237
238
Case "NOBARS"
239
ResizeFactor = NoBarResize
240
Case "HALFBARS"
241
- ResizeFactor = NoBarResize / 2
242
+ ResizeFactor = Halfbarresize
243
End Select
244
+
245
Object.Lock(realtimeform.PanscanSlider)
246
realtimeform.PanscanSlider.value = resizefactor * 10000
247
Object.unLock(realtimeform.PanscanSlider)
248
-
249
VideoBox.move(0, 0, outerbox.w, outerbox.h)
250
-
251
mplayer.set_property_mpv("video-zoom", Replace(CStr(resizefactor), ",", "."))
252
253
End
254
255
Dim geometry As String
256
Dim rx, ry, rw, rh As Integer
257
258
- If Exist(myfilename) Then
259
+ If Exist(myfilename, True) Then
260
myfile = Open myfilename For Read
261
Try Line Input #myfile, geometry
262
If Not Error Then
263
264
265
266
Public Sub ButtonStop_Click()
267
+
268
' Return
269
' Dim a As Integer = 1 / 0
270
'Stop
271
272
previousfile_cover = ""
273
videobox.cached = False
274
zzzfake.PanelNowNext.visible = False
275
- If buttoncapture.value Then StopDumping(generaloptions.dvbfinaldir.text)
276
+ If buttoncapture.value Then StopDumping()
277
buttoncapture.enabled = False
278
buttoncapture.visible = buttoncapture.enabled
279
ABLoopButton.visible = False
280
281
' VideoBox.Visible = False
282
283
284
- firstplay = False
285
-
286
ButtonPlay.enabled = False
287
288
' fixmempv
289
290
ResizeFactor = 0
291
'LogWindow.streamtextbox.text = fullpath
292
PrevValuecTime = 999999
293
- mplayer.watched_properties = ["pause", "volume", "=chapter", "=time-pos", "duration", "=duration", "percent-pos", "cache", "media-title"]
294
+
295
+ mplayer.watched_properties_old_data.Add("", "pause")
296
+ mplayer.watched_properties_old_data.Add("", "volume")
297
+ mplayer.watched_properties_old_data.Add("", "=chapter")
298
+ mplayer.watched_properties_old_data.Add("", "=time-pos")
299
+ mplayer.watched_properties_old_data.Add("", "duration")
300
+ mplayer.watched_properties_old_data.Add("", "=duration")
301
+ mplayer.watched_properties_old_data.Add("", "percent-pos")
302
+ mplayer.watched_properties_old_data.Add("", "cache")
303
+ mplayer.watched_properties_old_data.Add("", "media-title")
304
+ mplayer.watched_properties_old_data.Add("", "=aid")
305
+ ' mplayer.watched_properties_old_data.Add("", "=vid")
306
+ ' mplayer.watched_properties_old_data.Add("", "=sid")
307
+
308
mplayer.clear_options()
309
opts = static_options()
310
For Each data In opts
311
312
Endif
313
314
ReturnLabel:
315
+ firstplay = False
316
global.mouse_wait(fmain, False)
317
switchresBTN.enabled = True
318
Return True
319
320
PreviousCoverFile = coverfile
321
322
If Not (Exist(coverfile)) Then
323
- If Exist(Trim(coverfile)) Then coverfile = Trim(coverfile)
324
+ If Exist(Trim(coverfile), True) Then coverfile = Trim(coverfile)
325
Endif
326
327
audioform.coverbox.refresh
328
329
audioform.coverbox.refresh
330
'AlbumGridView.Current.Refresh()
331
MyAlbumsLib.selectcell(AlbumGridView.Row, AlbumGridView.Column)
332
+ 'timerhideshowvideo.start
333
End
334
335
Public Function shadow(src As Image, final_size As Integer, offset As Integer) As Image
336
337
audioform.refresh
338
AudioForm.PictureBack.hide
339
Endif
340
-
341
+
342
End
343
344
Public Sub SetChaptersTabVisibility(visibility As Boolean)
345
346
347
Public Sub mplayer_property_change(name As String, data_old As String, data_new As String)
348
If Not mplayer.ProcessRunningOvr() Then Return
349
-
350
+
351
Select Case name
352
353
Case "pause"
354
355
Case Like "duration"
356
UpdateStatusBar(CUSTOMTITLE_OLD, CTIME_OLD, CACHEVALUE_OLD)
357
358
+ Case "=aid"
359
+ global.myDebug("changed aid:", data_old, data_new)
360
+ mplayer.setP("tracklist-current-audio", TracklistCurrentAudioTrack())
361
+
362
End Select
363
364
Returnlabel:
365
366
367
End
368
369
+Public Function TracklistCurrentAudioTrack() As Integer
370
+ Dim n, t As Integer
371
+ Dim current_aid, id As String
372
+ Try t = mplayer.getP("track-list/count")
373
+ If Error Then Return
374
+ For n = 0 To t - 1
375
+ If mplayer.get_property_mpv("track-list/" & n & "/type", True, 1, True) = "audio" Then
376
+ If mplayer.get_property_mpv("track-list/" & n & "/selected", True, 1, False) = "yes" Then
377
+ Return n
378
+ Endif
379
+ Endif
380
+ Next
381
+ Return 0
382
+End
383
+
384
+
385
Public Sub Update_cache_percent(cachevalue As String)
386
Dim percent_pos, percent_cache, duration, cache_duration_secs As Float
387
duration = -1
388
389
SubNotSet = True
390
If (Not mplayer.user_stopped) And (Shutdown = "MEDIA") Then CountDown.engage
391
392
- If buttoncapture.value Then StopDumping(generaloptions.dvbfinaldir.text) 'fixmempv dumping
393
+ If buttoncapture.value Then StopDumping() 'fixmempv dumping
394
buttoncapture.enabled = False
395
buttoncapture.visible = buttoncapture.enabled
396
ArrangeCpl()
397
398
If SwitchingFullScreen Then Return
399
If mouse.left Then
400
GuiDragging = True
401
- fmain.Move(fmain.screenx + (mouse.x - mouse.StartX), fmain.screeny + (mouse.y - mouse.Starty))
402
+ fmain.Move(fmain.x + (mouse.x - mouse.StartX), fmain.y + (mouse.y - mouse.Starty))
403
Endif
404
Else
405
global.myDebug(" ")
406
407
my = mouse.screeny
408
409
If fullscreen Then
410
- If Exist(fscommand) Then
411
+ If Exist(fscommand, True) Then
412
global.myDebug("Executing " & fscommand & " " & fps)
413
If Not mplayer.Paused() Then 'pause the video before swhitching fullscreen
414
mplayer.do_pause()
415
416
Endif
417
418
'if windowed
419
- If Exist(windowcommand) Then
420
+ If Exist(windowcommand, True) Then
421
global.myDebug("Executing " & windowcommand)
422
If Not mplayer.Paused() Then 'pause the video before swhitching fullscreen
423
mplayer.do_pause()
424
425
Public Sub Hsplit1ResizeDelayed_timer()
426
427
If Not fsform.fullscreen Then Hsplit1_MyRefresh
428
-
429
End
430
431
Public Sub Hsplit1_MyRefresh()
432
433
Update_cache_percent(mplayer.get_property_mpv("cache", True, 1, True))
434
Endif
435
436
-
437
-
438
Try RightPanel = HSplit1.layout[1]
439
If RightPanel < 10 Then
440
OuterBox.Background = Me.Background
441
442
toolbarbackground.show
443
Endif
444
YouVideoInfo.w = scrollviewyt.w - 64
445
- Try MyAlbumsLib.Arrange(generaloptions.IconWidthAlbums.text, albumviewtexlen)
446
-
447
+ If TabSelectedAlbums() Then
448
+ Try MyAlbumsLib.Arrange(generaloptions.IconWidthAlbums.text, albumviewtexlen)
449
+ Endif
450
+
451
If zzzFake.PanelNowNext.visible Then
452
Wait
453
PanelNowNextArrange()
454
Endif
455
456
- If audioform.AudioPanel.Parent = outerbox Then audioform.AutoresizeAudioForm()
457
+ If audioform.AudioPanel.Parent = outerbox Then
458
+ audioform.AutoresizeAudioForm()
459
+ Endif
460
+
461
+
462
463
End
464
465
466
'---
467
If filefound Or (Lower(fullpath) Like "*dvb*://*") Then
468
If GeneralOptions.ShowCoversInListChk.value Then 'the user want covers
469
- If Not Exist(covermanager.Coverfile(artist, album, fullpath)) Then 'se il coverfile non esiste
470
+ If Not Exist(covermanager.Coverfile(artist, album, fullpath), True) Then 'se il coverfile non esiste
471
If covermanager.IsUncovered(fullpath) Then '...e non puòessere creato
472
MyGrid.Data.Picture = covermanager.coverpicture(covermanager.Coverfile(artist, album, fullpath), fullpath, (rowheight - rowpadding) * bigfactor) 'ritorna la coverdi Default
473
Else 'il coverfile non esiste, ma potrebbe essere creato
474
475
If row = hirow Then mygrid.Data.Font.bold = True
476
MyGrid.data.text = MyLibrary.CellValue(MyGrid, row, column)
477
478
+ mygrid.Data.Foreground = GeneralOptions.ColorChooseBTN1.Background
479
+
480
End
481
482
Public Sub OLD_Gridviews_Data(MyGrid As GridView, MyLibrary As Playlistclass, Row As Integer, Column As Integer)
483
484
'---
485
If filefound Or (Lower(fullpath) Like "*dvb*://*") Then
486
If GeneralOptions.ShowCoversInListChk.value Then 'the user want covers
487
- If Not Exist(covermanager.Coverfile(artist, album, fullpath)) Then 'se il coverfile non esiste
488
+ If Not Exist(covermanager.Coverfile(artist, album, fullpath), True) Then 'se il coverfile non esiste
489
If covermanager.IsUncovered(fullpath) Then '...e non puòessere creato
490
MyGrid.Data.Picture = covermanager.coverpicture(covermanager.Coverfile(artist, album, fullpath), fullpath, (rowheight - rowpadding) * bigfactor) 'ritorna la coverdi Default
491
Else 'il coverfile non esiste, ma potrebbe essere creato
492
493
End
494
495
Public Sub LibraryGrid_Data(Row As Integer, Column As Integer)
496
-
497
Gridviews_Data(LibraryGrid, mylibrary, Row, Column)
498
-
499
End
500
501
Public Sub PlaylistGrid_Data(Row As Integer, Column As Integer)
502
503
CoverManager.CachePicture.refresh
504
CoverManager.Show()
505
Wait 0.1
506
- If (Not Exist(CoverManager.Coverfile(CoverManager.ArtistText.text, CoverManager.AlbumText.text))) And Not JustFileCover Then
507
+ If (Not Exist(CoverManager.Coverfile(CoverManager.ArtistText.text, CoverManager.AlbumText.text), True)) And Not JustFileCover Then
508
CoverManager.textbox1_Click() 'start a fetch
509
Endif
510
Endif
511
512
513
Public Sub TrayIcon2_Scroll(Delta As Float, Orientation As Integer)
514
If delta > 0 Then
515
- volume_add("+2")
516
+ v = "UP"
517
+ 'volume_add("+2")
518
Else
519
+ v = "DOWN"
520
+ 'volume_add("-2")
521
+ Endif
522
+ timervolume.Trigger()
523
+End
524
+Private v As String
525
+Public Sub timervolume_Timer()
526
+ If v = "UP" Then
527
+ volume_add("+2")
528
+ Else
529
volume_add("-2")
530
Endif
531
End
532
533
+
534
+
535
+
536
+
537
Public Sub TrayIcon2_click()
538
Dim iconified As Boolean = False
539
iconified = (fmain.minimized And fmain.SkipTaskbar)
540
541
Public Sub HSplit1_Resize()
542
Dim prevlayout As Integer[]
543
544
-
545
bp.ignore = True
546
bp.move(0, 0, outerbox.w, outerbox.h)
547
bp.show
548
549
videobox.hide
550
thumblebox.hide
551
552
- ' If Rnd(0, 1) > 0.75 Then
553
- ' Hsplit1_MyRefresh
554
- ' Endif
555
- ' 'old_workaround for missing picture, maybe not needed with mpv.
556
557
-'check if drag has stopped
558
prevlayout = hsplit1.Layout
559
Wait 0.025
560
If prevlayout[0] <> hsplit1.layout[0] Then Return
561
562
timerhideshowvideo.start
563
-
564
+ 'Hsplit1_MyRefresh
565
End
566
567
568
569
Dim prevlayout As Integer[]
570
Dim xy As Integer
571
572
+ If Not fmain.fullyloaded Then Return
573
+
574
timerhideshowvideo.stop
575
prevlayout = hsplit1.Layout
576
If Not fsform.fullscreen Then
577
578
Endif
579
hsplit1.Layout = prevlayout
580
Endif
581
+
582
+ 'If firstplay = True Then Wait 1
583
+ Hsplit1_MyRefresh()
584
585
- Hsplit1_MyRefresh
586
videobox.show
587
Wait 0.025
588
Wait 0.025
589
590
591
End
592
593
- Public Sub OLD_timerhideshowvideo_Timer()
594
- Dim prevlayout As Integer[]
595
- Dim xy As Integer
596
- timerhideshowvideo.stop
597
- prevlayout = hsplit1.Layout
598
- If Not fsform.fullscreen Then
599
- 'If (rightsidepanel.width < (ControlPanel.w + 64)) Then
600
- 'If (seekbar.w < 64) Then
601
- If (rightsidepanel.width < 480) Then
602
- If (BottomVbox.Parent.name <> "FMain") Then
603
- BottomVbox.Reparent(fmain)
604
- Endif
605
- Else
606
- If (BottomVbox.Parent.name <> "RightSidePanel") And (Not (fsform.FullScreen)) Then
607
- BottomVbox.Reparent(RightSidePanel)
608
- Endif
609
- Endif
610
- hsplit1.Layout = prevlayout
611
- Endif
612
-
613
- 'prevent glitches near the hsplit border
614
- If Not fsform.fullscreen Then
615
- xy = videobox.x
616
- Wait
617
- videobox.x = 20
618
- Wait
619
- videobox.x = xy
620
- Wait
621
- Hsplit1_MyRefresh
622
- Else
623
- xy = videobox.y
624
- videobox.y = 20
625
- Wait
626
- videobox.y = xy
627
- Wait
628
- Endif
629
-
630
-End
631
-
632
633
Public Sub ShadeList(brother As Object, Optional dltx As Integer = 0, Optional dlty As Integer = 0)
634
If Not fmain.fullyloaded Then Return
635
636
Dim mymsg As String
637
Dim mynow As String = Now()
638
Dim ismp3 As Boolean = False
639
+ Dim audiocodec As String
640
+ Dim tracklist_current_audio As Integer = 0
641
+ Try tracklist_current_audio = mplayer.getP("tracklist-current-audio")
642
+ audiocodec = mplayer.getP("track-list/" & tracklist_current_audio & "/codec")
643
mynow = Replace(mynow, "/", "-")
644
mynow = Replace(mynow, " ", "_")
645
mynow = Replace(mynow, ":", ".")
646
647
destfile &= "/Xt7.REC."
648
destfile &= file.Name(mplayer.getP("fullpath")) & "-" & mynow
649
destfile = Replace(destfile, ".pls", "")
650
- Ismp3 = Ismp3 Or (Lower(mplayer.getP("fullpath")) Like "*.mp3")
651
- Ismp3 = Ismp3 Or (Lower(mplayer.getP("audio-codec")) Like "*mpg123*")
652
- Ismp3 = Ismp3 Or (Lower(mplayer.getP("audio-codec")) Like "*mp3*")
653
+ Ismp3 = Ismp3 Or (Lower(audiocodec) Like "*.mp3")
654
+ Ismp3 = Ismp3 Or (Lower(audiocodec) Like "*mpg123*")
655
+ Ismp3 = Ismp3 Or (Lower(audiocodec) Like "*mp3*")
656
Ismp3 = Ismp3 And mplayer.getP("audioonly")
657
658
If ismp3 Then
659
660
Message.Error(("Please, first enter a playlist name to save"), "Ok")
661
Return False
662
Endif
663
- If Not Exist(playlistsfullpath) Then
664
+ If Not Exist(playlistsfullpath, True) Then
665
Try Mkdir playlistsfullpath
666
If Error Then
667
Message.Error(("Couldn't make the user playlist directory\n") & playlistsfullpath, ("Ok"))
668
Return False
669
Endif
670
Endif
671
- If Exist(playlistsfullpath & "/" & PlaylistsCombo.text & ".xpl") Then
672
+ If Exist(playlistsfullpath & "/" & PlaylistsCombo.text & ".xpl", True) Then
673
If MyQuestion.Ask(PlaylistsCombo.text & " " & ("exists."), ("Overwrite"), ("Never mind")) = 2 Then Return False
674
Endif
675
Try myplaylist.SaveAs(playlistsfullpath & "/" & PlaylistsCombo.text & ".xpl")
676
677
End
678
679
Public Sub VideoAreaGroup_KeyRelease()
680
-
681
HotKeysHelper.keyRelease()
682
-
683
End
684
685
-Public Sub switchresBTN_Enter()
686
-
687
- switchresBTN.menu = "menu_modes"
688
-
689
-End
690
691
xt7-player-mpv-0.16.384.tar.gz/.src/Form/FMain.form -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/FMain.form
Changed
20
1
2
Grid = False
3
Header = GridView.Horizontal
4
}
5
+ { timervolume #Timer
6
+ #MoveScaled(21,14)
7
+ }
8
}
9
{ LibrarySelInfo Label
10
MoveScaled(1,47,36,4)
11
12
Text = ("Order by")
13
}
14
{ ComboBoxOrderBy ComboBox
15
- MoveScaled(9.4286,-31.2857,18,4)
16
+ MoveScaled(9.4286,-34.2857,18,4)
17
#Translate = False
18
Expand = True
19
ReadOnly = True
20
xt7-player-mpv-0.16.384.tar.gz/.src/Form/GeneralOptions.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/GeneralOptions.class
Changed
13
1
2
t1 = Temp()
3
Select Case Left(NoParseVisType2.text)
4
Case "1"
5
- visstring = "'[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(ih/2):y=(0),crop=h=(ih/2):y=ih,colorlevels=romax=0.5[waves];[spectrum][waves]overlay[vo]'"
6
+ visstring = "'[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(ih/2):y=(0),crop=h=(ih/2):y=ih,colorlevels=romax=0.5:bomin=1:gomin=1[waves];[spectrum][waves]overlay[vo]'"
7
Case "2"
8
- visstring = "'[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(in_h):y=(in_h/2),colorlevels=romax=0.5,colorkey=0x000000:0.1:0.5[waves];[spectrum][waves]overlay[vo]'"
9
+ visstring = "'[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(in_h):y=(in_h/2),colorkey=0x000000:0.1:0.5,colorlevels=romax=0.5:bomin=1:gomin=1[waves];[spectrum][waves]overlay[vo]'"
10
Case "3"
11
Copy "shade_alpha.png" To t1
12
visstring = "'[aid1]asplit [a][ao];[a]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x256:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h[spectrum];movie=" & t1 & ",scale=h=(in_h/1.5)[pic];[spectrum][pic]overlay[vo]'"
13
xt7-player-mpv-0.16.384.tar.gz/.src/Form/GeneralOptions.form -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/GeneralOptions.form
Changed
10
1
2
}
3
}
4
{ Tabstrip1 TabStrip
5
- MoveScaled(26,0,62,67)
6
+ MoveScaled(27,0,62,67)
7
Tag = "User options"
8
Expand = True
9
Arrangement = Arrange.Vertical
10
xt7-player-mpv-0.16.384.tar.gz/.src/Form/HotKeys.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/HotKeys.class
Changed
34
1
2
3
Dim C, R, w1, w2 As Integer
4
5
- If Exist(filename_fs) Then
6
+ If Exist(filename_fs, True) Then
7
Try dblclick_fs_checkbox.value = (File.Load(filename_fs) = "TRUE")
8
Else
9
dblclick_fs_checkbox.value = True 'default value
10
Endif
11
- If Exist(filename_global_hk) Then
12
+ If Exist(filename_global_hk, True) Then
13
Try checkboxenableglobalhotkeys.value = (File.Load(filename_global_hk) = "TRUE")
14
Else
15
checkboxenableglobalhotkeys.value = False 'default value
16
17
HotKeysGrid.Columns[c].w = -1
18
Next
19
'Local Hotkeys
20
- If Exist(filename) Then
21
+ If Exist(filename, True) Then
22
If Stat(filename, True).size > 0 Then
23
HotFile = Open filename For Read
24
For c = 0 To HotKeysGrid.Columns.Count - 1
25
26
Endif
27
28
'Global Hotkeys grid:
29
- If Exist(filename) Then
30
+ If Exist(filename, True) Then
31
If Stat(filename, True).size > 0 Then
32
GlobalHotFile = Open Globalfilename For Read
33
For c = 0 To GlobalHotKeysGrid.Columns.Count - 1
34
xt7-player-mpv-0.16.384.tar.gz/.src/Form/NewChains.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/NewChains.class
Changed
10
1
2
3
' 'alimiter lavfi
4
AllParams.Add(["TITLE", "Keep input signal under a desired threshold - (ffmpeg >=3.0 only)", "alimiter0", ""])
5
- AllParams.add(["RANGEFLOAT", "Input gain", "0.1", "2", "64", "alimiter1", ""])
6
+ AllParams.add(["RANGEFLOAT", "Input gain", "0.1", "5", "64", "alimiter1", ""])
7
AllParams.add(["RANGEFLOAT", "output gain", "0.1", "1", "64", "alimiter2", ""])
8
AllParams.add(["RANGEFLOAT", "limit", "0.1", "1", "1", "alimiter3", ""])
9
AllParams.add(["RANGE", "attack", "1", "5", "80", "alimiter4", ""])
10
xt7-player-mpv-0.16.384.tar.gz/.src/Form/SubAndOsd.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/SubAndOsd.class
Changed
14
1
2
If (fullpath <> "") Then
3
If MkvWorkaroundCHK.value Then 'http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1870
4
If (Lower(file.Ext((fullpath))) = "mkv") Then
5
- opts.Add(o("sub-file", SConv(fullpath)))
6
- opts.Add(o("sub-ass", "no"))
7
+ opts.Add(o("sub-file", "'" & SConv(fullpath) & "'"))
8
+ 'opts.Add(o("sub-ass", "no")) 'deprecated, use the following instead:
9
+ opts.Add(o("ass-style-override", "strip"))
10
+ opts.Add(o("embeddedfonts", "no"))
11
Endif
12
Endif
13
Endif
14
xt7-player-mpv-0.16.384.tar.gz/.src/Form/zzzFake.class -> xt7-player-mpv-0.18.384.tar.gz/.src/Form/zzzFake.class
Changed
11
1
2
Try global.arg_profile = Args.get("p", "profile-temp", ("Use specified profile only for this session"), "profilename")
3
Try global.arg_append = Args.Has("a", "append", ("Append the file to the playlist of a running instance"))
4
Try global.arg_new_instance = Args.Has("n", "new-instance", ("Play in a new instance even if one is already running"))
5
+ Try global.arg_start_tray = Args.Has("t", "tray", ("Start minimized in the tray"))
6
Try global.arg_debug = Args.Has("v", "verbose", ("Enable debug output"))
7
+
8
Try global.arg_file = Args.end()[0]
9
10
If (global.arg_file <> "") And Left(global.arg_file) <> "/" Then
11
xt7-player-mpv-0.16.384.tar.gz/AA_ToDo -> xt7-player-mpv-0.18.384.tar.gz/AA_ToDo
Changed
88
1
2
ciò è fondamentale per youtube.
3
4
5
-
6
-Cambiamenti nel prossimo mpv:
7
-
8
---------------------------------------------------------------------------
9
---------------------------------------------------------------------------
10
-
11
-
12
-
13
-
14
-
15
Nel panello di cambiamento automatico di velocità, mettere 2 checkbox:
16
[x] Sto usando un'uscita ottica toslink
17
[x] voglio codificare un ac3 quando cambio velocità.
18
19
20
21
22
-visualizzazione audio:
23
-
24
-spectrum sotto con onde sopra:
25
-10.5%cpu
26
-build/mpv /mnt/nas.crypt/Musica/BestOfBowie/CD1/01.Space.Oddity.ogg --lavfi-complex='[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(ih/2):y=(0),crop=h=(ih/2):y=ih,colorlevels=romax=0.5[waves];[spectrum][waves]overlay[vo]' -ao null
27
-
28
-Spectrum con onde sovraimpresse:
29
-28%cpu
30
-build/mpv /mnt/nas.crypt/Musica/BestOfBowie/CD1/01.Space.Oddity.ogg --lavfi-complex='[aid1]asplit=3 [azero][auno][ao];[azero]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x512:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h,scale=h=512:w=512:force_original_aspect_ratio=disable[spectrum];[auno]showwaves=s=512x512:mode=line:r=20,crop=h=(in_h):y=(in_h/2),colorlevels=romax=0.5,colorkey=0x000000:0.1:0.5[waves];[spectrum][waves]overlay[vo]' -ao null
31
-
32
-
33
-
34
-
35
-solo spectrum; l'immagine png è un gradiente da trasparente a nero.
36
-5,5%cpu
37
--lavfi-complex='[aid1]asplit [a][ao];[a]showspectrum=mode=separate:color=intensity:slide=scroll:s=4x256:color=intensity:win_func=blackman:mode=combined:saturation=1,crop=h=(in_h/1.5):y=in_h[spectrum];movie=/tmp/out.png,scale=h=(in_h/1.5)[pic] ;[spectrum][pic]overlay[vo]' --no-keepaspect
38
-
39
-frequenze
40
-7%cpu
41
---lavfi-complex='[aid1]asplit[ao][a1];[a1]showfreqs=s=256x256:mode=bar :colors=#ff0000|#aa0000 :averaging=0.6
42
-
43
-Vectorscope sovraimpresso con hack per la sovraimpressione
44
-17% cpu
45
-build/mpv /mnt/nas.crypt/Musica/BestOfBowie/CD1/01.Space.Oddity.ogg --lavfi-complex='[aid1]asplit=3[a1][a2][ao]; [a2]adrawgraph=bg=#00000000:size=256x256[blank]; movie=/home/root/Gambas3/xt7-player-mpv-gtk/shade1.png,scale=256x256[pic]; [blank][pic]overlay[back] ; [a1]avectorscope=size=256x256[sp];[back][sp]overlay[vo]'
46
-
47
-
48
-filtri presenti solo in ffmpeg >=3.0:
49
- ... acompressor A->A Audio compressor.
50
- ... aemphasis A->A Audio emphasis.
51
- ... afftfilt A->A Apply arbitrary expressions to samples in
52
- ... agate A->A Audio gate.
53
- ... alimiter A->A Audio lookahead limiter.
54
- ... allpass A->A Apply a two-pole all-pass filter.
55
- ... amerge N->A Merge two or more audio streams into a single multi-channel stream.
56
- T.. ametadata A->A Manipulate audio frame metadata.
57
- ..C anequalizer A->N Apply high-order audio parametric multi band equalizer.
58
- ... apulsator A->A Audio pulsator.
59
- ... arealtime A->A Slow down filtering to match realtime.
60
- ..C astreamselect N->N Select audio streams
61
- ... compensationdelay A->A Audio Compensation Delay Line.
62
- ... extrastereo A->A Increase difference between stereo audio channels.
63
- ... sidechaingate AA->A Audio sidechain gate.
64
- ... stereotools A->A Apply various stereo tools.
65
- ... stereowiden A->A Apply stereo widening effect.
66
- ... tremolo A->A Apply tremolo effect.
67
- ... vibrato A->A Apply vibrato effect.
68
- TS. chromakey V->V Turns a certain color into transparency. Operates on YUV colors.
69
- T.. convolution V->V Apply convolution filter.
70
- T.. displace VVV->V Displace pixels.
71
- T.. maskedmerge VVV->V Merge first stream with second stream
72
- T.. metadata V->V Manipulate video frame metadata.
73
- T.. nnedi V->V Apply neural network edge directed interpolation intra-only deinterlacer.
74
- ... realtime V->V Slow down filtering to match realtime.
75
- TS. selectivecolor V->V Apply CMYK adjustments to specific color ranges.
76
- T.. shuffleframes V->V Shuffle video frames.
77
- ..C streamselect N->N Select video streams
78
- T.. swaprect V->V Swap 2 rectangular objects in video.
79
- ... testsrc |->V Generate test pattern.
80
- ... testsrc2 |->V Generate another test pattern.
81
- ... ahistogram A->V Convert input audio to histogram video output.
82
- ... showspectrumpic A->V Convert input audio to a spectrum video output single picture.
83
- ... spectrumsynth VV->A Convert input spectrum videos to audio output.
84
+
85
+Cambiamenti nel prossimo mpv:
86
+--------------------------------------------------------------------------
87
+ aspect: make video-zoom logarithmic: funzionano ancora il taglia bande nere e taglia metà bande nere?
88
xt7-player-mpv-0.18.384.tar.gz/README.md
Added
58
1
2
+xt7-player-mpv
3
+======
4
+An open source gui to mpv.
5
+xt7-player-mpv aims to be an (in)complete graphical interface to mpv, focused on usability.
6
+
7
+It also provides extra features like youtube and shoutcast integration, dvbt,
8
+media tagging, library and playlist managment and a lot more.
9
+Visit: http://xt7-player.sourceforge.net/xt7forum/viewtopic.php?f=4&t=2
10
+for a screenshots tour.
11
+
12
+It is written and requires (the latest) Gambas3:
13
+http://gambas.sourceforge.net/en/main.html
14
+
15
+<p align="center">
16
+ <img src="http://wpage.unina.it/aorefice/sharevari/xt7-player-mpv-github-shots/main.jpg"</img>
17
+ <img src="http://wpage.unina.it/aorefice/sharevari/xt7-player-mpv-github-shots/music.jpg"</img>
18
+</p>
19
+
20
+
21
+Mandatory requirements:
22
+======
23
+ * Gambas 3 (usually the very latest version)
24
+ * Qt4
25
+ * mpv
26
+
27
+
28
+
29
+Optional requirements:
30
+======
31
+ * taglib to tag audio files and speed-up library syncronization:
32
+ http://developer.kde.org/~wheeler/taglib.html
33
+
34
+ * xbindkeys: to use global hotkeys
35
+ http://hocwp.free.fr/xbindkeys/
36
+
37
+ * scan and femon from LinuxTV dvb-apps to use dvbt features
38
+ http://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps
39
+
40
+ * youtube-dl to watch and download youtube videos
41
+ http://rg3.github.com/youtube-dl/
42
+
43
+
44
+
45
+Compiling it:
46
+======
47
+```
48
+After you installed gambas 3, just checkout and compile xt7 that way:
49
+
50
+# git clone https://github.com/kokoko3k/xt7-player-mpv.git
51
+# cd xt7-player-mpv/
52
+# /path/to/gambas/binaries/gbc3 -e -a -g -t -p -m
53
+# /path/to/gambas/binaries/gba3
54
+# ./xt7-player-mpv.gambas
55
+```
56
+
57
+
58
Refresh
No build results available
Refresh
No rpmlint results available
Login required, please
login
or
signup
in order to comment
Request History
awissu created request almost 9 years ago
awissu accepted request almost 9 years ago
Please add a comment