Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-20 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 20, 2014, 2:46 p.m.)


Status
--

This change has been marked as submitted.


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/mainwindow.h f224060 
  shells/newshell/mainwindow.cpp f721d68 
  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-20 Thread Commit Hook

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53519
---


This review has been submitted with commit 
3b49f4e8407dd67506a06f50839a7f6856a526f9 by Sujith Haridasan to branch master.

- Commit Hook


On March 19, 2014, 6:40 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 19, 2014, 6:40 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/mainwindow.h f224060 
   shells/newshell/mainwindow.cpp f721d68 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-19 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53438
---



shells/newshell/mainwindow.cpp
https://git.reviewboard.kde.org/r/116554/#comment37583

This processCommandLineArgs call (only the call) is still needed, otherwise 
media passed as cmd line args wont play.
Please test before updating diff.


- Shantanu Tushar


On March 19, 2014, 6:30 a.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 19, 2014, 6:30 a.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/mainwindow.h f224060 
   shells/newshell/mainwindow.cpp f721d68 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-19 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 19, 2014, 6:40 p.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

Sorry had tested only when one media is passed from command line while pmc is 
open. Tested and working now. 


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/mainwindow.h f224060 
  shells/newshell/mainwindow.cpp f721d68 
  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-19 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53472
---

Ship it!


Ship It!

- Shantanu Tushar


On March 19, 2014, 6:40 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 19, 2014, 6:40 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/mainwindow.h f224060 
   shells/newshell/mainwindow.cpp f721d68 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-18 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 18, 2014, 4:13 p.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

Removed the play() function. Tested working from commandline url send.
Other functionalities working as tested before.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-18 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53344
---



shells/newshell/package/contents/ui/mediacenter.qml
https://git.reviewboard.kde.org/r/116554/#comment37531

This function is not needed, however mainwindow still attempts to call it 
from void MainWindow::playPlaylist().

You might want to remove that as well as the call to playPlaylist itself. 
addNewInstanceArgsPlaylist() would still be needed. That code basically handles 
the case when PMC is already open and then you try to run plasma-mediacenter 
file to play a file.


- Shantanu Tushar


On March 18, 2014, 4:13 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 18, 2014, 4:13 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-18 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 18, 2014, 10 p.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

removed the void MainWindow::playPlaylist() function, and introduced a slot to 
getMediaPlayer() in addNewInstanceArgsPlaylist().

Tested for playing a different file from the command line while PMC is open. 
Operating as expected.
Rest of the implementation working as planned.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/mainwindow.h f224060 
  shells/newshell/mainwindow.cpp f721d68 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-18 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53384
---



shells/newshell/mainwindow.cpp
https://git.reviewboard.kde.org/r/116554/#comment37550

Why is this call to getMediaPlayer needed? Please check if just calling 
processCommandLineArgs(args) is enough. If so, update the diff.


- Shantanu Tushar


On March 18, 2014, 10 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 18, 2014, 10 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/mainwindow.h f224060 
   shells/newshell/mainwindow.cpp f721d68 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-16 Thread Shantanu Tushar


 On March 15, 2014, 7:44 p.m., Shantanu Tushar wrote:
  browsingbackends/localfiles/localfilesabstractbackend.cpp, line 169
  https://git.reviewboard.kde.org/r/116554/diff/2/?file=254194#file254194line169
 
  0 won't work when there are already some itmes in the playlist before 
  addAllSongsToPlaylist is called.
 
 Harshit Agarwal wrote:
 As discussed, it's working fine, I tested it such:
 1. Empty playlist, press PlayAll, songs get populated to the playlist, 
 and the first one starts playing.
 2. With the playlist having songs, pressed PlayAll for a different list. 
 The songs get pushed to the playlist, and the current song plays without any 
 interrupt.
 3. With no song playing, pressed PlayAll in a third folder, the songs 
 again get pushed to the playlist, and the playback starts from the top of the 
 playlist. (This behaviour is correct, right?)

#2 and #3 both should play the first song of the *new* song list that the user 
has added. So if there were 5 songs already and you added 10 more songs, 6th 
song should start playing.


- Shantanu


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53000
---


On March 15, 2014, 6:21 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 15, 2014, 6:21 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/package/contents/ui/mediacenter.qml 714e561 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-16 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 16, 2014, 9:30 a.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

Implemented the thing pointed out by Shantanu.
Now the media plays from the point where it is added. That is, it starts 
playing the new PlayAll media when it is clicked, even when there is media 
present in the playlist before.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-16 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 16, 2014, 10:29 a.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

Apologies for the wrong patch. That did not contain a line. Please review this 
instead.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-16 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53040
---



browsingbackends/localfiles/localfilesabstractbackend.cpp
https://git.reviewboard.kde.org/r/116554/#comment37339

const int in



shells/newshell/package/contents/ui/mediacenter.qml
https://git.reviewboard.kde.org/r/116554/#comment37338

now that you are loading the playlist in init(), this call in play() is no 
longer needed. Remove it as well (and do confirm that files passed through 
command line still work)


- Shantanu Tushar


On March 16, 2014, 10:29 a.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 16, 2014, 10:29 a.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-16 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 16, 2014, 10:08 p.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

const (Something I need to remember always :P)
As for the dual getPlaylist() call, I substituted it with getMediaPlayer(), so 
the effect remains the same, while avoiding to load the playlist twice, and the 
media can be played through the command line (tested).


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  shells/newshell/package/contents/ui/mediacenter.qml bac33c2 
  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-15 Thread Harshit Agarwal

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/
---

(Updated March 15, 2014, 6:21 p.m.)


Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
Sujith Haridasan.


Changes
---

Changed the patch. Now it plays the first media when PlayAll is pressed, and 
works for the All Music section too!
Now it is loading the playlist in the init() function.


Repository: plasma-mediacenter


Description
---

Referring to Bug #331040 The functionality of the media starting to play on the 
press of the Play All button has been implemented.
It has been noted and implemented that the media doesn't start over when new 
songs/videos are added to an existing playlist. 


Diffs (updated)
-

  browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
  shells/newshell/package/contents/ui/mediacenter.qml 714e561 

Diff: https://git.reviewboard.kde.org/r/116554/diff/


Testing
---

The testing has been done through various test scenarios.


Thanks,

Harshit Agarwal

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-15 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review53000
---



browsingbackends/localfiles/localfilesabstractbackend.cpp
https://git.reviewboard.kde.org/r/116554/#comment37295

0 won't work when there are already some itmes in the playlist before 
addAllSongsToPlaylist is called. 


- Shantanu Tushar


On March 15, 2014, 6:21 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 15, 2014, 6:21 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
   shells/newshell/package/contents/ui/mediacenter.qml 714e561 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-12 Thread Shantanu Tushar


 On March 9, 2014, 4:55 p.m., Shantanu Tushar wrote:
  Not having the playlist already loaded has caused us enough issues in the 
  past. I suggest we start loading the playlist unconditionally. For this, 
  just make a call to getPlaylist() in the init() function in mediacenter.qml
  Once that is done, your patch works (with a small nitpick that if you do it 
  multiple times, it adds them to the same playlist. For this you should 
  create a new bug so that someone can fix it).

Basically what I want you to do is-

getPlaylist().visible = false;//we only want to load it, not to display it

in mediacenter.qml's init() method. This will make sure the playlist is 
instantiated as soon as PMC opens up. As a result, the Play All button in All 
Music mode will start working.
You don't need to take care of local browsing as of now, #116744 should be able 
to fix it.


- Shantanu


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review52456
---


On March 2, 2014, 10:53 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 2, 2014, 10:53 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-09 Thread Shantanu Tushar

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review52456
---


Not having the playlist already loaded has caused us enough issues in the past. 
I suggest we start loading the playlist unconditionally. For this, just make a 
call to getPlaylist() in the init() function in mediacenter.qml
Once that is done, your patch works (with a small nitpick that if you do it 
multiple times, it adds them to the same playlist. For this you should create a 
new bug so that someone can fix it).

- Shantanu Tushar


On March 2, 2014, 10:53 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 2, 2014, 10:53 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-05 Thread Sujith Haridasan


 On March 3, 2014, 6:01 a.m., Sujith Haridasan wrote:
  Harshit, thanks for picking up the bug and I appreciate your effort. I 
  would like to know every single step you had done as test case. I am pretty 
  sure this is not a one liner fix. Only when the playlist frame gets into 
  the stack, the Play All starts working as per my observation. Let me know 
  if I am wrong.
 
 Harshit Agarwal wrote:
 Test Cases:
 1. With an pre-empty playlist, added videos from a folder on the local 
 drive. Result: The videos get added on clicking the PlayAll Button, and the 
 first video starts playing, window remains in the file browser only.
 2. With a pre-filled playlist, and some video playing from the playlist, 
 went to another folder and clicked PlayAll to a new set of videos. They get 
 added to the existing playlist and the video continues without breaking.
 3. With a single video playing from the local drive, and an empty 
 playlist before, clicked PlayAll on a list of videos from a folder. They 
 get added to the playlist, but do not disturb the current video playing.

Launch pmc and then try to go to All Music. And then click on Play All. See 
if that solves the problem?


- Sujith


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review51736
---


On March 2, 2014, 10:53 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 2, 2014, 10:53 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-03 Thread Harshit Agarwal


 On March 3, 2014, 6:01 a.m., Sujith Haridasan wrote:
  Harshit, thanks for picking up the bug and I appreciate your effort. I 
  would like to know every single step you had done as test case. I am pretty 
  sure this is not a one liner fix. Only when the playlist frame gets into 
  the stack, the Play All starts working as per my observation. Let me know 
  if I am wrong.

Test Cases:
1. With an pre-empty playlist, added videos from a folder on the local drive. 
Result: The videos get added on clicking the PlayAll Button, and the first 
video starts playing, window remains in the file browser only.
2. With a pre-filled playlist, and some video playing from the playlist, went 
to another folder and clicked PlayAll to a new set of videos. They get added 
to the existing playlist and the video continues without breaking.
3. With a single video playing from the local drive, and an empty playlist 
before, clicked PlayAll on a list of videos from a folder. They get added to 
the playlist, but do not disturb the current video playing. 


- Harshit


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review51736
---


On March 2, 2014, 10:53 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 2, 2014, 10:53 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 116554: Implementation of autoplay when the PlayAll button in pressed

2014-03-02 Thread Sujith Haridasan

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116554/#review51736
---


Harshit, thanks for picking up the bug and I appreciate your effort. I would 
like to know every single step you had done as test case. I am pretty sure this 
is not a one liner fix. Only when the playlist frame gets into the stack, the 
Play All starts working as per my observation. Let me know if I am wrong.

- Sujith Haridasan


On March 2, 2014, 10:53 p.m., Harshit Agarwal wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/116554/
 ---
 
 (Updated March 2, 2014, 10:53 p.m.)
 
 
 Review request for Plasma, Akshay Ratan, Shantanu Tushar, Sinny Kumari, and 
 Sujith Haridasan.
 
 
 Repository: plasma-mediacenter
 
 
 Description
 ---
 
 Referring to Bug #331040 The functionality of the media starting to play on 
 the press of the Play All button has been implemented.
 It has been noted and implemented that the media doesn't start over when new 
 songs/videos are added to an existing playlist. 
 
 
 Diffs
 -
 
   browsingbackends/localfiles/localfilesabstractbackend.cpp faaafa7 
 
 Diff: https://git.reviewboard.kde.org/r/116554/diff/
 
 
 Testing
 ---
 
 The testing has been done through various test scenarios.
 
 
 Thanks,
 
 Harshit Agarwal
 


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel