pathmann / pyTSon_repository

GNU General Public License v3.0
3 stars 4 forks source link

Replace servertree with custom serverview #9

Closed Bluscream closed 7 years ago

Bluscream commented 7 years ago

Would that be possible? If yes, how? :o A similar approach to the tweakUI example?

Btw it seems like there are still some issues with the plugin:

5/21/2017 18:05:08  ClientUI    Info    Calling plugin onMenuItemEvent: scHandlerID=2type=0, menuItemID=91, selectedItemID=0    
5/21/2017 18:05:08  pyTSon.PluginHost.registerCallbackProxy Info    Callbackproxy DragDropServerviewModel registered    
5/21/2017 18:05:08  pyTSon.PluginHost.unregisterCallbackProxy   Info    Callbackproxy DragDropServerviewModel unregistered  
5/21/2017 18:05:16  pyTSon  Error   Calling onClientMoveEvent failed with error "Error calling method
Traceback (most recent call last):
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 403, in callMethod
    meth(*args)
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\ts3widgets\serverview.py", line 1077, in onClientMoveEvent
    oldchan.remove(obj)
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\ts3widgets\serverview.py", line 105, in remove
    self.clients.remove(obj)
ValueError: list.remove(x): x not in list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 408, in callMethod
    trace=traceback.format_exc()))
OSError: [Errno 22] Invalid argument
"
5/21/2017 18:05:17  pyTSon.ts3widgets   Error   Error getting client talkpower (490): 512
5/21/2017 18:05:17  pyTSon.ts3widgets   Error   Error getting client inputdeactivated flag (490): 512   
Bluscream commented 7 years ago

Btw the filetransfer dialog looks good but still needs some work :)

![image](https://cloud.githubusercontent.com/assets/3318223/26286732/967471e0-3e6c-11e7-9548-1f7e97bdbcd5.png) ![image](https://cloud.githubusercontent.com/assets/3318223/26286737/9e87576c-3e6c-11e7-91ac-165aea9d09be.png) ![image](https://cloud.githubusercontent.com/assets/3318223/26286741/c0307074-3e6c-11e7-89d6-7e96d172f7a7.png) ``` 5/21/2017 19:20:35 pyTSon.PluginHost.registerCallbackProxy Info Callbackproxy FileTransferModel registered 5/21/2017 19:20:35 Info Error opening file "C:/Users/Timo/Downloads/.flooignore": The system cannot find the path specified. 5/21/2017 19:20:35 pyTSon.PluginHost.unregisterCallbackProxy Info Callbackproxy FileTransferModel unregistered ```

I really like the idea of showing the seconds =)