qtmediahub:zhxts-qtmediahub-core.git
6 years agos/QMH_HELPER_DBUS_SERVICENAME/QMH_PLAYER_DBUS_SERVICENAME
Girish Ramakrishnan [Mon, 29 Aug 2011 21:47:19 +0000 (14:47 -0700)]
s/QMH_HELPER_DBUS_SERVICENAME/QMH_PLAYER_DBUS_SERVICENAME

6 years agoMove mediaplayer out of src since it's a standalone binary not built as part of core
Girish Ramakrishnan [Mon, 29 Aug 2011 21:43:44 +0000 (14:43 -0700)]
Move mediaplayer out of src since it's a standalone binary not built as part of core

6 years agoPrint a qDebug saying what player is actually running
Girish Ramakrishnan [Mon, 29 Aug 2011 20:50:11 +0000 (13:50 -0700)]
Print a qDebug saying what player is actually running

6 years agos/backend/player.
Girish Ramakrishnan [Mon, 29 Aug 2011 20:36:46 +0000 (13:36 -0700)]
s/backend/player.

6 years agoRename MediaBackendInterface to AbstractMediaPlayer.
Girish Ramakrishnan [Mon, 29 Aug 2011 19:42:04 +0000 (12:42 -0700)]
Rename  MediaBackendInterface to AbstractMediaPlayer.

We compile in the dbus player by default as long as dbus is present.

6 years agoDon't set raster when user has explicitly set a graphics system
Donald Carr [Mon, 29 Aug 2011 21:40:41 +0000 (21:40 +0000)]
Don't set raster when user has explicitly set a graphics system

6 years agogl-viewport should be explicitly configurable at runtime
Donald Carr [Mon, 29 Aug 2011 20:50:41 +0000 (20:50 +0000)]
gl-viewport should be explicitly configurable at runtime

Might be conflicting with Meego GS

6 years agoMove the dejavu font into the hub folder
Donald Carr [Mon, 29 Aug 2011 18:39:40 +0000 (18:39 +0000)]
Move the dejavu font into the hub folder

6 years agouse QtQuick 1.0 for visualization
Johannes Zellner [Sun, 28 Aug 2011 21:40:12 +0000 (23:40 +0200)]
use QtQuick 1.0 for visualization

6 years agoDon't create the DBus backend when overlay mode is false
Girish Ramakrishnan [Sun, 28 Aug 2011 00:15:45 +0000 (17:15 -0700)]
Don't create the DBus backend when overlay mode is false

6 years agooverlay-mode should not be a property of MainWindow
Girish Ramakrishnan [Sun, 28 Aug 2011 00:06:29 +0000 (17:06 -0700)]
overlay-mode should not be a property of MainWindow

Accessing it as a property is hacky. Also importantly, MainWindow is
part of the main program and qmh-core should not rely on any stuff
there.

6 years agomediaBackendInterface was never registered with rpc to start with
Girish Ramakrishnan [Sat, 27 Aug 2011 23:55:29 +0000 (16:55 -0700)]
mediaBackendInterface was never registered with rpc to start with

6 years agoDon't compile in the DBus backend when there is no dbus
Girish Ramakrishnan [Sat, 27 Aug 2011 23:54:45 +0000 (16:54 -0700)]
Don't compile in the DBus backend when there is no dbus

6 years agoAdd copyright headers
Girish Ramakrishnan [Sat, 27 Aug 2011 23:28:46 +0000 (16:28 -0700)]
Add copyright headers

Sneak in some other changes while we are at it.

6 years agoFix typo
Girish Ramakrishnan [Sat, 27 Aug 2011 23:13:08 +0000 (16:13 -0700)]
Fix typo

6 years agoSimplify they keyboard shortcuts since they are eaten by the WM on most desktops
Girish Ramakrishnan [Sat, 27 Aug 2011 21:05:01 +0000 (14:05 -0700)]
Simplify they keyboard shortcuts since they are eaten by the WM on most desktops

6 years agoFix compile
Girish Ramakrishnan [Sat, 27 Aug 2011 21:03:51 +0000 (14:03 -0700)]
Fix compile

6 years agoActionMapper::takeAction should just look up actionToQtKey event. It has nothing...
Girish Ramakrishnan [Sat, 27 Aug 2011 20:48:50 +0000 (13:48 -0700)]
ActionMapper::takeAction should just look up actionToQtKey event. It has nothing to do with the keyboard map

6 years agom_internalActionMap can be static
Girish Ramakrishnan [Sat, 27 Aug 2011 20:36:31 +0000 (13:36 -0700)]
m_internalActionMap can be static

6 years agoPrefix member variables with m_
Girish Ramakrishnan [Sat, 27 Aug 2011 20:31:43 +0000 (13:31 -0700)]
Prefix member variables with m_

6 years agoAdd LibraryInfo::keyboardMapPath
Girish Ramakrishnan [Sat, 27 Aug 2011 20:16:31 +0000 (13:16 -0700)]
Add LibraryInfo::keyboardMapPath

6 years agoRename m_parent member variable and make parent the last constructor argument
Girish Ramakrishnan [Sat, 27 Aug 2011 20:06:16 +0000 (13:06 -0700)]
Rename m_parent member variable and make parent the last constructor argument

6 years agoI am a const nazi
Girish Ramakrishnan [Sat, 27 Aug 2011 19:58:58 +0000 (12:58 -0700)]
I am a const nazi

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Fri, 26 Aug 2011 23:15:14 +0000 (01:15 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agofix rpath
Johannes Zellner [Fri, 26 Aug 2011 23:14:51 +0000 (01:14 +0200)]
fix rpath

6 years agoinsert project url to debian packaging
Johannes Zellner [Fri, 26 Aug 2011 23:14:35 +0000 (01:14 +0200)]
insert project url to debian packaging

6 years agoGuard GL usage in view
Donald Carr [Fri, 26 Aug 2011 22:48:22 +0000 (22:48 +0000)]
Guard GL usage in view

6 years agoemit layoutChanged when dotDotPosition changes v0.7
Girish Ramakrishnan [Fri, 26 Aug 2011 22:06:16 +0000 (15:06 -0700)]
emit layoutChanged when dotDotPosition changes

6 years agoAdd MediaModel::dotDotPosition property
Girish Ramakrishnan [Fri, 26 Aug 2011 21:13:29 +0000 (14:13 -0700)]
Add MediaModel::dotDotPosition property

6 years agoMake compile time options more toggleable
Donald Carr [Fri, 26 Aug 2011 21:46:01 +0000 (21:46 +0000)]
Make compile time options more toggleable

easiest thing it to toggle them by adding them to .qmake.cache

6 years agoThis is not a Nokia product
Donald Carr [Fri, 26 Aug 2011 18:23:01 +0000 (18:23 +0000)]
This is not a Nokia product

6 years agoDon't create painter on GLWidget
Donald Carr [Fri, 26 Aug 2011 00:54:32 +0000 (00:54 +0000)]
Don't create painter on GLWidget

6 years agoRestrict transparent fills to overlay mode
Donald Carr [Fri, 26 Aug 2011 00:22:58 +0000 (00:22 +0000)]
Restrict transparent fills to overlay mode

Girish made me do it

6 years agoFill with transparent on every frame
Donald Carr [Fri, 26 Aug 2011 00:15:42 +0000 (00:15 +0000)]
Fill with transparent on every frame

6 years agom_fieldToRole is an old variable that should not be used.
Girish Ramakrishnan [Thu, 25 Aug 2011 22:59:00 +0000 (15:59 -0700)]
m_fieldToRole is an old variable that should not be used.

6 years agoClear the cursor when the structure is changed
Girish Ramakrishnan [Thu, 25 Aug 2011 22:43:51 +0000 (15:43 -0700)]
Clear the cursor when the structure is changed

6 years agofixes for .pro files for harmattan
Johannes Zellner [Thu, 25 Aug 2011 17:58:56 +0000 (19:58 +0200)]
fixes for .pro files for harmattan

6 years agoadd harmattan packaging files
Johannes Zellner [Thu, 25 Aug 2011 17:57:44 +0000 (19:57 +0200)]
add harmattan packaging files

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Thu, 25 Aug 2011 01:08:38 +0000 (03:08 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoSet TranslucentBackground only in overlayMode v0.6
Girish Ramakrishnan [Thu, 25 Aug 2011 00:01:09 +0000 (17:01 -0700)]
Set TranslucentBackground only in overlayMode

6 years agoImplement auto-forward, auto-backward in the media model
Girish Ramakrishnan [Wed, 24 Aug 2011 23:47:50 +0000 (16:47 -0700)]
Implement auto-forward, auto-backward in the media model

When navigating videos, the season field is "null" for movies. This
means that when having a structure such as "serial|season|title", the
user will be starting at a view that has a single empty item. To avoid
this, we auto enter the season item.

Yes, this is an ugly quick hack for 0.6 release.

071fea9ea7f9e0c3fa162b1375af53af82d2635c was pushed by mistake (instead
of this commit)

6 years agoClean up window attributes
Donald Carr [Wed, 24 Aug 2011 23:42:08 +0000 (23:42 +0000)]
Clean up window attributes

Fix Girish's dodgy parenting

6 years agoAdd auto-forward backward in MediaModel
Girish Ramakrishnan [Wed, 24 Aug 2011 18:36:38 +0000 (00:06 +0530)]
Add auto-forward backward in MediaModel

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 24 Aug 2011 18:35:31 +0000 (20:35 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoAdd show and season to video table
Girish Ramakrishnan [Wed, 24 Aug 2011 17:00:42 +0000 (22:30 +0530)]
Add show and season to video table

6 years agoAdd searchPath argument to updateMediaInfos
Girish Ramakrishnan [Wed, 24 Aug 2011 15:50:37 +0000 (21:20 +0530)]
Add searchPath argument to updateMediaInfos

6 years agoConnect the quitAction to the close slot so that WA_DeleteOnClose would work as expec...
Girish Ramakrishnan [Wed, 24 Aug 2011 15:01:34 +0000 (20:31 +0530)]
Connect the quitAction to the close slot so that WA_DeleteOnClose would work as expected (though we don't use it now)

6 years agoAdd support for specifying additional video formats on the command line
Donald Carr [Tue, 23 Aug 2011 21:35:32 +0000 (21:35 +0000)]
Add support for specifying additional video formats on the command line

6 years agoImprove default options
Donald Carr [Mon, 22 Aug 2011 20:29:23 +0000 (20:29 +0000)]
Improve default options

6 years agoShine through is an attribute of (main)window
Donald Carr [Mon, 22 Aug 2011 07:36:41 +0000 (07:36 +0000)]
Shine through is an attribute of (main)window

overlay mode more informative

transparent mode should be default in optimizeWidgetAttributes (when option
is passed)

6 years agoMake headless an explicit option not heuristic driven
Donald Carr [Sun, 21 Aug 2011 20:59:32 +0000 (20:59 +0000)]
Make headless an explicit option not heuristic driven

DISPLAY not export on embedded targets!

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Sun, 21 Aug 2011 15:13:21 +0000 (17:13 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agomake compile for NO_DBUS
qt [Fri, 19 Aug 2011 13:09:29 +0000 (15:09 +0200)]
make compile for NO_DBUS

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Thu, 18 Aug 2011 18:36:22 +0000 (20:36 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoremoved old path from launcher script
Marcel Schuette [Thu, 18 Aug 2011 17:35:55 +0000 (19:35 +0200)]
removed old path from launcher script

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 17 Aug 2011 09:13:33 +0000 (11:13 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoCreate initial QML backend abstraction item
Donald Carr [Tue, 16 Aug 2011 00:59:26 +0000 (00:59 +0000)]
Create initial QML backend abstraction item

6 years agoMove VideoItem to new Backend abstraction
Donald Carr [Mon, 15 Aug 2011 21:14:02 +0000 (21:14 +0000)]
Move VideoItem to new Backend abstraction

6 years agoMoving towards unified media api
Donald Carr [Thu, 11 Aug 2011 18:01:03 +0000 (18:01 +0000)]
Moving towards unified media api

6 years agoPrevent people from wasting their time
Donald Carr [Wed, 10 Aug 2011 21:53:57 +0000 (21:53 +0000)]
Prevent people from wasting their time

Spurious compiler warnings FTW

6 years agoCode changes prompted by Girish's review
Donald Carr [Wed, 10 Aug 2011 21:32:26 +0000 (21:32 +0000)]
Code changes prompted by Girish's review

6 years agoCorrections following Girish's code/API review
Donald Carr [Wed, 10 Aug 2011 21:17:42 +0000 (21:17 +0000)]
Corrections following Girish's code/API review

6 years agoSeparate metadata from media playback
Donald Carr [Tue, 9 Aug 2011 00:10:25 +0000 (00:10 +0000)]
Separate metadata from media playback

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Mon, 8 Aug 2011 11:26:42 +0000 (13:26 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoRemove mediaType from playlist entirely
Girish Ramakrishnan [Mon, 8 Aug 2011 10:19:50 +0000 (15:49 +0530)]
Remove mediaType from playlist entirely

Playlist can now contains media of any time. Currently, ordering
information is not correctly preserved.

6 years agoCreate model role mapping on startup
Girish Ramakrishnan [Mon, 8 Aug 2011 09:58:59 +0000 (15:28 +0530)]
Create model role mapping on startup

We used to create name->role mapping on the fly. This was not a problem
because mediamodel was tied to a specific database table. However, for
things like a playlist that can possibly contain items of different
types, this dynamic name->role mapping does not work since it assumed
that only one 'table' was active at a time.

Fix is to create the name->role mapping as the media parsers get registered.

6 years agoClean up xine reference backend a bit
Donald Carr [Mon, 8 Aug 2011 05:15:55 +0000 (05:15 +0000)]
Clean up xine reference backend a bit

Add volume to backend API

6 years agoAdd xine reference backend
Donald Carr [Mon, 8 Aug 2011 03:13:58 +0000 (03:13 +0000)]
Add xine reference backend

6 years agoInterface should be abstract
Donald Carr [Mon, 8 Aug 2011 02:02:33 +0000 (02:02 +0000)]
Interface should be abstract

Helper not built by default

Interface is now an interface destr bttr be virtual

6 years agoIntroduce first draft of dbus helper
Donald Carr [Sun, 7 Aug 2011 22:10:56 +0000 (22:10 +0000)]
Introduce first draft of dbus helper

These backends will clearly need to be plugins in order to be useful? Wait
on Girish's input in order to avoid him murdering me

6 years agoCertainly not meant to be there
Donald Carr [Mon, 8 Aug 2011 01:01:59 +0000 (01:01 +0000)]
Certainly not meant to be there

6 years agoclang is not happy with bools getting returned as pointers
Donald Carr [Sun, 7 Aug 2011 21:34:44 +0000 (21:34 +0000)]
clang is not happy with bools getting returned as pointers

Sure it probably amounts to the same thing
v0.5 might be a good tag to avoid

6 years agoSeeing crash on Mac and Linux due to DeleteOnClose attribute clearly
Donald Carr [Sun, 7 Aug 2011 19:18:56 +0000 (19:18 +0000)]
Seeing crash on Mac and Linux due to DeleteOnClose attribute clearly
failing. 4.8 issue?

Functionally revert 5e31d89441705a4324c9b47a9a38d76760121d79

in favour of consistent simple old school memory management, as done with
mediaServer pointer

6 years agoAdd support for persistent playlists v0.5
Girish Ramakrishnan [Sun, 7 Aug 2011 16:33:35 +0000 (22:03 +0530)]
Add support for persistent playlists

6 years agoAdd MediaTypRole
Girish Ramakrishnan [Sun, 7 Aug 2011 16:12:40 +0000 (21:42 +0530)]
Add MediaTypRole

6 years agoReturn the query string and bindings separately
Girish Ramakrishnan [Sun, 7 Aug 2011 15:10:16 +0000 (20:40 +0530)]
Return the query string and bindings separately

QSqlQuery is bound to a database. DBReader was thus probably executing
the query in the wrong connection.

6 years agoRemove unused function
Girish Ramakrishnan [Sun, 7 Aug 2011 14:54:20 +0000 (20:24 +0530)]
Remove unused function

6 years agoAdd Qt::DisplayRole
Girish Ramakrishnan [Sun, 7 Aug 2011 14:53:21 +0000 (20:23 +0530)]
Add Qt::DisplayRole

6 years agoImplement recursive addition in Playlist
Girish Ramakrishnan [Sun, 7 Aug 2011 14:27:17 +0000 (19:57 +0530)]
Implement recursive addition in Playlist

6 years agoAdd MediaModel::leafNodesQuery to help Playlist recursively find child nodes of a row
Girish Ramakrishnan [Sun, 7 Aug 2011 14:08:37 +0000 (19:38 +0530)]
Add MediaModel::leafNodesQuery to help Playlist recursively find child nodes of a row

6 years agobuildQuery now takes cursor as argument
Girish Ramakrishnan [Sun, 7 Aug 2011 13:49:41 +0000 (19:19 +0530)]
buildQuery now takes cursor as argument

6 years agoQMHPlayer changes
Girish Ramakrishnan [Sat, 6 Aug 2011 20:57:41 +0000 (02:27 +0530)]
QMHPlayer changes

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Sun, 7 Aug 2011 13:23:41 +0000 (15:23 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoRework playlist API
Girish Ramakrishnan [Sat, 6 Aug 2011 20:01:39 +0000 (01:31 +0530)]
Rework playlist API

6 years agoAdd MediaModel::getRoleNameMapping
Girish Ramakrishnan [Sat, 6 Aug 2011 20:56:26 +0000 (02:26 +0530)]
Add MediaModel::getRoleNameMapping

6 years agos/QHash/QMap
Girish Ramakrishnan [Sat, 6 Aug 2011 19:55:29 +0000 (01:25 +0530)]
s/QHash/QMap

All for the sake of itemData.

6 years agoRevert "Destroy MainWindow correctly"
Girish Ramakrishnan [Sat, 6 Aug 2011 18:52:05 +0000 (00:22 +0530)]
Revert "Destroy MainWindow correctly"

This reverts commit bd007d42566c5befb249d6f94711b55fc0ef8860.

MainWindow already has DeleteOnClose attribute set and the double
deletion cause QtMediaHub to crash on exit.

6 years agoDestroy MainWindow correctly
Donald Carr [Fri, 5 Aug 2011 19:36:06 +0000 (19:36 +0000)]
Destroy MainWindow correctly

6 years agoFinish what I started
Donald Carr [Fri, 5 Aug 2011 19:31:28 +0000 (19:31 +0000)]
Finish what I started

Extricate tailing networksession related ifdef

6 years agos/itemdata/modelIndex
Girish Ramakrishnan [Fri, 5 Aug 2011 16:39:45 +0000 (22:09 +0530)]
s/itemdata/modelIndex

6 years agoRemove PlaylistRoles and make them as functions instead
Girish Ramakrishnan [Fri, 5 Aug 2011 16:25:05 +0000 (21:55 +0530)]
Remove PlaylistRoles and make them as functions instead

6 years agos/PlayModeRoles/PlayMode
Girish Ramakrishnan [Fri, 5 Aug 2011 16:18:25 +0000 (21:48 +0530)]
s/PlayModeRoles/PlayMode

6 years agoImplement File::findFiles
Girish Ramakrishnan [Fri, 5 Aug 2011 12:24:01 +0000 (17:54 +0530)]
Implement File::findFiles

6 years agoMove particles right into the components folder.
Girish Ramakrishnan [Fri, 5 Aug 2011 12:22:48 +0000 (17:52 +0530)]
Move particles right into the components folder.

6 years agoRemove evil Skin::resourcePath
Girish Ramakrishnan [Fri, 5 Aug 2011 12:11:13 +0000 (17:41 +0530)]
Remove evil Skin::resourcePath

6 years agowe have a updated license header now
Johannes Zellner [Fri, 5 Aug 2011 10:11:43 +0000 (12:11 +0200)]
we have a updated license header now

6 years agoMove addImportPath to the view. Also remove the frontexd property
Girish Ramakrishnan [Fri, 5 Aug 2011 09:52:11 +0000 (15:22 +0530)]
Move addImportPath to the view. Also remove the frontexd property

6 years agoRename Frontend to SkinRuntime
Girish Ramakrishnan [Fri, 5 Aug 2011 08:34:49 +0000 (14:04 +0530)]
Rename Frontend to SkinRuntime

6 years agoRemove openUrlExternally. There's no real use case
Girish Ramakrishnan [Fri, 5 Aug 2011 08:17:11 +0000 (13:47 +0530)]
Remove openUrlExternally. There's no real use case

Only Confluence uses it for some corner case.

6 years agoRename targetsModel to remoteSessionsModel
Girish Ramakrishnan [Fri, 5 Aug 2011 07:58:39 +0000 (13:28 +0530)]
Rename targetsModel to remoteSessionsModel