Comments (2)
I'v debugged a little and got this control flow:
gnome-mplayer-1.0.9/src/support.c: add_item_to_playlist()
{
(uri == "file:///tmp/qwe%23qwe.webm")
local_uri = g_uri_unescape_string(uri, NULL);
(local_uri == "file:///tmp/qwe#qwe.webm")
gtk_list_store_set(playliststore, &localiter, ITEM_COLUMN, local_uri,
DESCRIPTION_COLUMN, data->title,
COUNT_COLUMN, 0,
PLAYLIST_COLUMN, playlist,
ARTIST_COLUMN, data->artist,
ALBUM_COLUMN, data->album,
SUBTITLE_COLUMN, data->subtitle,
AUDIO_CODEC_COLUMN, data->audio_codec,
VIDEO_CODEC_COLUMN, data->video_codec,
LENGTH_COLUMN, data->length,
DEMUXER_COLUMN, data->demuxer,
LENGTH_VALUE_COLUMN, data->length_value,
VIDEO_WIDTH_COLUMN, data->width, VIDEO_HEIGHT_COLUMN, data->height,
PLAY_ORDER_COLUMN,
gtk_tree_model_iter_n_children(GTK_TREE_MODEL(playliststore), NULL),
ADD_ORDER_COLUMN,
gtk_tree_model_iter_n_children(GTK_TREE_MODEL(playliststore), NULL),
PLAYABLE_COLUMN, TRUE, -1);
}
gnome-mplayer-1.0.9/src/main.c: play_iter()
{
gtk_tree_model_get(GTK_TREE_MODEL(playliststore), playiter, ITEM_COLUMN, &uri,
DESCRIPTION_COLUMN, &title, LENGTH_VALUE_COLUMN, &length_value,
ARTIST_COLUMN, &artist,
ALBUM_COLUMN, &album,
AUDIO_CODEC_COLUMN, &audio_codec,
VIDEO_CODEC_COLUMN, &video_codec,
VIDEO_WIDTH_COLUMN, &width,
VIDEO_HEIGHT_COLUMN, &height,
DEMUXER_COLUMN, &demuxer,
COVERART_COLUMN, &cover_art_file,
SUBTITLE_COLUMN, &subtitle,
AUDIOFILE_COLUMN, &audiofile,
COUNT_COLUMN, &count, PLAYLIST_COLUMN, &playlist, PLAYABLE_COLUMN, &playable, -1);
(uri == "file:///tmp/qwe#qwe.webm")
gmtk_media_player_set_uri(GMTK_MEDIA_PLAYER(media), uri);
}
gmtk-1.0.9/src/gmtk_media_player.c: launch_mplayer()
{
(player->uri == "file:///tmp/qwe#qwe.webm")
file = g_file_new_for_uri(player->uri);
filename = g_file_get_path(file);
(filename == "/tmp/qwe")
}
Original comment by [email protected]
on 9 Jul 2014 at 10:28
from gnome-mplayer.
Suggest the patch that fixes this issue.
Original comment by [email protected]
on 22 Apr 2015 at 3:04
Attachments:
from gnome-mplayer.
Related Issues (20)
- mplayer plays DVDs; gnome-mplayer doesn't
- Screen turns of while watching videos in Xfce
- Window size changes erratically when toggling to fullscreen and back with extended playlist sidebar
- Keyboard configuration changes when playlist is extended
- MPRIS2 TrackList interface is claimed but missing
- feature request
- Window going black when getting out of focus HOT 2
- Gnome mplayer seems to ignore the 'hour' part of subtitle timing HOT 2
- Please support mpv
- Add video/ogg and audio/ogg to desktop file
- enhancement:option to play file dropped on gnome mplayer window instead of queueing it similar to vlc player behaviour HOT 4
- No keyboard shortcuts HOT 1
- gnome-mplayer doesnt find mate-screensaver in mate-session HOT 1
- resume position not saved when spaces in filename
- "remember window size" option causes problems including crashes
- messes up with dconf settings even when the user didn't change anything
- Volume control mostly hidden in fullscreen mode
- gnome-mplayer shows 2 notifications when song changes to next in playlist
- Can't resize window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-mplayer.